Skip to main content

Language Selection


Use the Language Selection screen to change the display language of the Air Doctor app.
The screen updates all supported user interface text for the active session and returns the user to the previous screen after confirmation.


This screen includes:

  • Language list - Displays supported languages as radio options.
  • Selected state - Highlights the active language.
  • Apply button

Workflow

This flow starts when the Language Selection screen is open.

  1. Open the Language Selection screen from Account → Language.
  2. Select a language.
  3. Confirm selection.

Validations

These rules determine selection and submission behavior.

ScenarioApp behaviorSDK output
No existing language preference.Select default language.language = en.
Supported language selected.Enable Apply action.Selection state updated.
Apply selected with no change.Close screen without update.No state change.
Unsupported language value provided.Reject request.Validation error returned.

Actions

ScenarioApp behaviorSDK output
Language selection confirmed.Update UI language across screens.Session language updated.
Navigation occurs without confirmation.Retain current language.No state change.
Language updated during session.Apply language immediately.Updated session state returned.

Endpoint Resources

Open Language Selection

PUT 

/account/change-language

Produces the Language Selection screen for the authenticated user session.
The response body includes:

  • List of supported languages.
  • Current language selection.
  • Confirmation control.

UI Element Types

LevelReferenceTypeValuePlacement
1choose-languageRegularChoose your desired app language:
1enRadioEnglish
1language~en-gbRadioEnglish UK
1language~heRadioHebrew
1language~esRadioSpanish
1language~deRadioGerman
1language~zhRadioChinese
1language~nlRadioDutch
1language~frRadioFrench
1language~ruRadioRussian
1language~jaRadioJapanese
1applyButtonApply

Apply Language Change

POST 

/account/change-language

Returns an update set that applies the selected language to the active session and refreshes all visible UI text.

Parameters

NameTypeRequiredDescription
languageEnumYesLanguage code. Supported values: en, en-gb, he, es, de, zh, nl, fr, ru, ja

Errors

CodeDescription
FIELDS_VALIDATION_ERROROne or more required fields are invalid.