Use Case: Displaying Content with Language Settings According to the User

In an application, we want to present content according to the language preferred by users. This personalises the user experience and makes the application suitable for multilingual usage scenarios.

Application Steps:

  • UI Design module.
  • You need to start a process to determine the user's language information. To do this, create an action chain that will run when the application opens.
    • Add the following action from the ADD ACTION menu:
      • OnLoad → Get Language
  • The Get Language action detects the language defined on the user's device or browser and stores it in a Bag key (e.g. userLanguage) that you specify.
  • Conditional display can be applied to content or elements within the application based on this language information. Example:
    • If userLanguage is Turkish (tr), the text is displayed in Turkish.
    • If it is English (en), the content continues in English.
  • To apply this condition:
    • Add the Visible If property to the Text Input element.

This way, the application automatically presents the content in the appropriate language to the user and supports a multilingual experience.