basilicom / pimcore-field-translator-bundle
A Pimcore bundle to provide translation helpers for fields in the Pimcore Backend.
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 1
Open Issues: 4
Type:pimcore-bundle
Requires
- php: >=7.3
- google/cloud-translate: ^1.8
- pimcore/pimcore: >=6.0 <7.0
Requires (Dev)
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-10-20 00:20:00 UTC
README
Usecase / Summary
The translation bundle will automatically extend Pimcores localized fields.
In order to translate a field you will get an additional "translate" option when viewing the fields in a dataobject.
Each translation have to be triggered manually for each language and field. This will be optimized in the near future.
Installation
- Install the bundle using
composer require basilicom/field-translator-bundle
- Execute
bin/console pimcore:bundle:enable BasilicomFieldTranslatorBundle
Configuration
You can configure a translation-strategy like this:
basilicom_field_translator:
strategy: "DeepL" # available GoogleTranslate|DeepL
config:
apiKey: "<- the API key->"
Author: Alexander Heidrich (Basilicom GmbH)
License: GPL v3