Skip to main content
Version: 2024.3

Translate Value

Translates the values of the selected fields. For translation the default locale is used.

Similar to Pimcore's Translate Value. For a detailed example see Website Translations.

Configuration

translate_value_config.pngtranslate_value_config.pngtranslate_value_config.png

  • Label: The label of the field.
  • Prefix: The prefix for the translation key.

Example

translate_value_example.pngtranslate_value_example.pngtranslate_value_example.png

info

Note: Make sure to add the translation key to the translations in the Pimcore backend, using the admin domain.

Request:

{
getCar(id: 82) {
id,
TranslatedName
}
}

Response:

{
"data": {
"getCar": {
"id": "82",
"TranslatedName": "NameValuedAddedToTranslations"
}
}
}