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:

  • A list of supported languages displayed as radio buttons.
  • The currently active language selected by default.
  • A single confirmation control to apply the selected language.
  • Immediate UI refresh after confirmation.
  • Session-level persistence of the selected language across screens.

Workflow

Change Application Language

  1. From the main navigation, open Account.
  2. Select Language.
  3. Select one language from the list.
  4. Select Apply.
  5. The app refreshes all visible UI text and closes the screen.

Validations

These scenarios describe how the app validates the Language Selection screen and what the integrator can expect.

ScenarioApp BehaviorSDK OutputExample
The user opens the screen with no prior language preference.The app selects English by default.Language value resolved to en.
The user selects a supported language.The app enables the Apply button.No request sent until confirmation.
The user selects Apply without changing the language.The app closes the screen without UI updates.No update set returned.
The user submits an unsupported language value.The app rejects the request.Validation error in the response.

Actions

These scenarios describe how the app responds to actions on the Language Selection screen and what the SDK returns.

ScenarioApp BehaviorSDK OutputExample
The user selects a language and confirms.The app updates all UI labels and menus immediately.Update set that refreshes the current page content.
The user navigates back without confirmation.The app preserves the existing language.No update set returned.
The user changes language during an active session.The app applies the language across all open screens.Server-side confirmation with updated session state.

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.