divante-ltd/pimcore-translation-bundle

Pimcore Translation Bundle

1.2.6 2021-09-03 15:04 UTC

This package is auto-updated.

Last update: 2024-12-16 15:54:37 UTC


README

Tests Actions Latest Stable Version Total Downloads License

Copy data from the source language and translate it by using:

Supports input, textarea and wysiwyg fields.

Table of Contents

Compatibility

This module is compatible with Pimcore 5.5.0 and higher. Including Pimcore 10.

Installing/Getting started

composer require divante-ltd/pimcore-translation-bundle

Configuration

Available providers:

  • google_translate
  • deepl
  • deepl_free - free version of DeepL API
  • microsoft_translate
divante_translation:
    api_key: 
    source_lang:
    provider:  # default provider: google_translate
    formality: # working for providers deepl and deepl_free only.

DeepL Formality:

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\

Enable the Bundle:

bin/console pimcore:bundle:enable DivanteTranslationBundle

How to add new provider

Create Provider and implement interface

DivanteTranslationBundle\Provider\ProviderInterface

If your provider has a option to set formality option implement interface:

DivanteTranslationBundle\Provider\FormalityProviderInterface

How it works?

Screenshot

Testing

Unit Tests:

vendor/bin/phpunit

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Licence

Pimcore Translation Bundle source code is completely free and released under the MIT.

Standards & Code Quality

This module respects all Pimcore 5 code quality rules and our own PHPCS and PHPMD rulesets.

About Authors

Divante-logo

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.