Configuration
Configuration takes places in configuration files or can be applied directly in Pimcore backend userinterface.
Configuration Storage
The configuration user interface utilizes the LocationAwareConfigRepository
for storing the configuration. With
the environment variable PIMCORE_WRITE_TARGET_TRANSLATIONS_PROVIDER
the storage location can be configured, possible values are
-
symfony-config
- write configs as Symfony Config as YAML files to/var/config/translations-provider/pimcore_translations_provider_interface.yaml
-
settings-store
- write configs to the SettingsStore -
disabled
- do not allow to edit/write configs at all
Details also see Pimcore Docs.
Example
PIMCORE_WRITE_TARGET_TRANSLATIONS_PROVIDER=symfony-config
Additionally, it is also possible to define the configuration directly in a symfony configuration file without using the configuration user interface. In this case, the configuration user interface is just read only.
Following configurations are available via symfony configuration tree. Use
bin/console config:dump-reference PimcoreTranslationsProviderInterfaceBundle
for most up-to-date list.
# Default configuration for "PimcoreTranslationsProviderInterfaceBundle"
pimcore_translations_provider_interface:
# Configuration of general settings
settings:
# Automatically submit translation job after created. If set to false, command has to executed to submit jobs (=default).
auto_submit: true
# Default provider used in the Pimcore Backend UI.
default_provider: ~
# Comma separated list of user names or user email addresses for error notification.
notification_recipients: ~
# Comma separated list of supported languages. If not set then it defaults to Pimcore\Tool::getValidLanguages.
allowed_languages: ~
# Check redelivery not older than X days.
redelivery_threshold: 60
# Maximum number of communication attempts before job goes into error state.
error_threshold: 10
# Project Shortcode of translation Provider.
project_shortcode: Pimcore
# Configuration of translations.com settings
translations_com:
project_director:
url: ~
username: ~
password: ~
defaultFileFormatProfile: PimcoreXML
wsdlPath: 'https://gl-connect2.translations.com/PD/services/'
# Configuration of xplanation settings
xplanation:
# Authentication key of xplanation
key: ~
# Authentication salt of xplanation
salt: ~
# Setting for BC reasons to ignore user permissions and always show menu entries.
ignore_permissions: true # Deprecated (The child node "ignore_permissions" at path "pimcore_translations_provider_interface" is deprecated.)