Skip to main content

Translation Language


Use the Translation Language popup to localize appointment content.
The app opens this popup when the user selects See Translation in Appointment Details. When a translation exists, the app replaces the original content with translated text.


Translation Language popup with language selection list

This popup includes:

  • A language selector that lists supported languages from platform configuration.
  • A Save Changes button that activates only after a language selection.
  • A Close (X) button that exits the popup without changes.
  • Inline refresh of appointment content after confirmation.

Workflow

Translation availability

The app applies translations only when localized content exists for the appointment.

This sequence describes how a user applies a translation.

  1. In Appointment Details, select See Translation.
  2. Review the list of supported languages.
  3. Select a language.
  4. Select Save Changes.
    • The popup closes.
    • The screen refreshes with translated content when available.
  5. Select Close (X) to exit without changes.

Validations

These rules ensure valid language selection and safe updates.

ScenarioApp behavior
No language selected.Keeps Save Changes disabled.
Selected language is unsupported.Rejects the selection.
Language does not exist in configuration.Prevents submission.
Translation does not exist for the appointment.Displays original content.

Actions

Popup behavior applies user preferences and updates the view.

ScenarioApp behavior
User selects Save Changes.Sends the selected language to the backend and updates appointment content inline.
User selects Close (X).Cancels the action and preserves the original language.

Endpoint Resources

Select Translation Language

PUT 

/account/translation-language

Displays the translation language selection popup and stores the selected language preference.

UI Element Types

LevelReferenceTypeValuePlacement
1spoken-language~afRadioAfrikaans
1spoken-language~amRadioAmharic
1spoken-language~yueRadioChinese – Cantonese
1save-changesSecondarySave changes

Translate Appointment Content

PATCH 

/profile/appointments/{appointment-id}/translate

Toggles translated content visibility for the appointment.


Update Translation Language​

POST 

/account/translation-language

Updates the user spoken language preference for translation services.

Parameters

NameTypeRequiredDescription
languageEnumYesLanguage code for translation.

Errors

CodeDescription
WRONG_DATAThe selected language is invalid or unsupported.