ntriga/pimcore-deepl

Use Deepl in your Pimcore project to translate documents and objects.

11.0.2 2024-06-27 13:36 UTC

README

Use Deeple in Pimcore

Features

  • Objects: Translate your objects' fields into multiple languages.

Dependencies

Installation

You can install the package via composer:

composer require ntriga/pimcore-deepl

Add Bundle to bundles.php:

return [
    Ntriga\PimcoreDeepl\PimcoreDeeplBundle::class => ['all' => true],
];

Add your Deepl API key to your .env.local file:

DEEPL_API_KEY=your-api-key

Default configuration

Default configuration for the bundle can look like this:

parameters:
    deepl_glossary_prefix: 'pimcore-deepl-prefix'
    deepl_source_lang: 'nl'
    deepl_target_langs:
        - 'fr'

    deepl_glossary:
        "default string":
            fr: "wanted translation"

Further configuration

For more information about the setup, check Setup

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

GNU General Public License version 3 (GPLv3). Please see License File for more information.