Copy data from the source language and translate it by using:
- Google Translate (https://cloud.google.com/translate)
- Deepl (https://www.deepl.com/en/docs-api/)
- Microsoft Translator (global region) (https://azure.microsoft.com/en-en/services/cognitive-services/translator/)
Supports input, textarea and wysiwyg fields.
Table of Contents
This module is compatible with Pimcore 5.5.0 and higher. Including Pimcore 10.
composer require divante-ltd/pimcore-translation-bundle
Available providers:
google_translate
deepl
deepl_free
- free version of DeepL APImicrosoft_translate
divante_translation:
api_key:
source_lang:
provider: # default provider: google_translate
formality: # working for providers deepl and deepl_free only.
Sets whether the translated text should lean towards formal or informal language.
This feature currently only works for target languages "DE" (German), "FR" (French), "IT" (Italian), "ES" (Spanish), "NL" (Dutch), "PL" (Polish), "PT-PT", "PT-BR" (Portuguese) and "RU" (Russian).
Possible options are:
"default" (default)
"more" - for a more formal language
"less" - for a more informal language\
bin/console pimcore:bundle:enable DivanteTranslationBundle
Create Provider and implement interface
DivanteTranslationBundle\Provider\ProviderInterface
If your provider has a option to set formality
option implement interface:
DivanteTranslationBundle\Provider\FormalityProviderInterface
Unit Tests:
vendor/bin/phpunit
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
Pimcore Translation Bundle source code is completely free and released under the MIT.
This module respects all Pimcore 5 code quality rules and our own PHPCS and PHPMD rulesets.
We are a Software House from Europe, existing from 2008 and employing about 150 people. Our core competencies are built around Magento, Pimcore and bespoke software projects (we love Symfony3, Node.js, Angular, React, Vue.js). We specialize in sophisticated integration projects trying to connect hardcore IT with good product design and UX.
We work for Clients like INTERSPORT, ING, Odlo, Onderdelenwinkel and CDP, the company that produced The Witcher game. We develop two projects: Open Loyalty - an open source loyalty program and Vue.js Storefront.
We are part of the OEX Group which is listed on the Warsaw Stock Exchange. Our annual revenue has been growing at a minimum of about 30% year on year.
Visit our website Divante.co for more information.