Skip to main content
Version: 2024.4

Locale Collector

Allows editing all languages for a single field.

Configuration

locale_collector_config.pnglocale_collector_config.pnglocale_collector_config.png

  • Label: Name for the field to be used in the mutation.

Example

locale_collector_example.pnglocale_collector_example.pnglocale_collector_example.png

Request:

mutation {
updateCar(
id:82
input:{
LocaleEditorName: {
en:"Name_en",
de:"Name_de",
fr:"Name_fr"
}
}
) {
success,
output {
name_en: name(language:"en"),
name_de: name(language:"de"),
name_fr: name(language:"fr")
}
}
}

Response:

{
"data": {
"updateCar": {
"success": true,
"output": {
"name_en": "Name_en",
"name_de": "Name_de",
"name_fr": "Name_fr"
}
}
}
}