Skip to main content
Version: Next

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:

  1. Install the required dependencies:
composer require pimcore/translations-provider-interfaces
  1. 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],
// ...
  1. 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

Deployment hint

For deployments of applications with this bundle via deployment pipelines without actual database access, the Symfony cache warming process could fail as doctrine ORM tries to determine the database version on cache warm-up to build its cache. Therefore, it is recommended to configure the database server version in the default DBAL connection like this:

default_connection: default
server_version: mariadb-10.11.0

Setup before starting

Depending on usage, desired workflow and used translation providers, additional configuration might be needed. This might include