Skip to main content
Version: 2024.4

Locale Switcher

locale_switcher_config.pnglocale_switcher_config.pnglocale_switcher_config.png

Switches to different language other than the default language. Add the operator to the list and

Configuration

locale_switcher_example.pnglocale_switcher_example.pnglocale_switcher_example.png

  • Label: Field name to be used in the query.
  • Locale: The locale you want to switch to.

Example

Request:

mutation {
updateCar(
id:82
input:{
name_ger:"Wert für name Feld"
}
) {
success,
output {
name_en:name(language:"en")
name_de:name(language:"de")
}
}
}

Response:

{
"data": {
"updateCar": {
"success": true,
"output": {
"name_en": "Name_en",
"name_de": "Wert für name Feld"
}
}
}
}