Installation and Configuration
Installation Process
For Pimcore >= 10.5
To install Pimcore Translations Provider Interfaces for Pimcore 10.5 or higher, follow the three steps below:
- Install the required dependencies:
composer require pimcore/translations-provider-interfaces
- Make sure the bundle is enabled in the
config/bundles.php
file. The following lines should be added:
use Pimcore\TranslationsProviderInterfaceBundle\PimcoreTranslationsProviderInterfaceBundle;
// ...
return [
// ...
PimcoreTranslationsProviderInterfaceBundle::class => ['all' => true],
// ...
];
- Install the bundle:
bin/console pimcore:bundle:install PimcoreTranslationsProviderInterfaceBundle
For Older Versions
To install the Translations Provider Interfaces bundle for older versions of Pimcore, please run the following commands instead:
# install package (add to composer.json)
composer require pimcore/translations-provider-interfaces
bin/console pimcore:bundle:enable PimcoreTranslationsProviderInterfaceBundle
bin/console pimcore:bundle:install PimcoreTranslationsProviderInterfaceBundle
Setup before starting
Depending on usage, desired workflow and used translation providers, additional configuration might be needed. This might include
- Setting configurations in configuration tree
- Defining parameters - see parameters.yml for available parameters
- Setting up manual triggering or automatic change detection
- Defining (additional) translation provider services
- Automatic execution of commands via crontab