Use Case: Setting the User Language

Login

When the user first enters the application or logs in, the Set Language action is triggered. This action determines the application language based on the user's preferred language.

  • If the user prefers English, all text and content in the interface will be displayed in English.
  • If a language preference has been previously saved, this information is retrieved and the application is launched in the relevant language.

For language changes to take effect, translations for the relevant language must be defined in the Languages panel. For example, if English (en-US) is selected, all translation keys must have English equivalents in the Languages panel.

Language Update

When the user changes their language preference within the application:

  • Set Language action instantly changes the language of the application.
  • All text, titles, buttons, and warnings on the interface are updated according to the selected language.
  • This preference is also saved to a persistent area such as local storage and automatically loaded on the next session.

Provides a dynamic experience based on users' language preferences in multilingual applications and allows users to use the application more efficiently according to their language preferences.