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
- Label: The label of the field.
- Prefix: The prefix for the translation key.
Example
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"
}
}
}