User Manual

Get Language

27/6/25
Get Language

Get Language action is used to determine the language actively used in your application. With this action, you can query the current language settings and perform specific actions based on the determined language. Additionally, you can customize the content and functionality of your application in different languages, thereby providing users with a more personalized experience.

Technical Features

  • Query Language Settings: The user's preferred language information can be queried and used.
  • Content Customization: The content and functionality of the application can be customized according to language information.
  • Personalized Experience: The user experience can be personalized and appropriate content can be displayed based on language.
  • Web and Mobile Compatibility: The Get Language action can be used in both web and mobile applications.

Get Language Action Application Steps

  • Log in to the Kuika platform and open the project you are working on.
  • Go to the UI Design module and open the Properties panel on the right panel.
  • Select the button and add the Multi Language > Get Language action from the + ADD ACTION menu according to the trigger event you want (Initial Actions, OnClick, OnBlur, etc.).

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.

Get Language Action Advanced Customisations

  • Language-Based Actions: Specific actions can be executed based on the user's language. For example, when a user selects English, the system can automatically display the Welcome message, and when they select Turkish, it can display the Hoş geldiniz message.
  • Dynamic Language Selection: Get Language action can be used to automatically update content after the user selects their language. For example, when the user changes their language, you can dynamically update the language of the application.
  • Multiple Language Support: You can provide multiple language support in your application using the Get Language action and manage the dynamic display of different content for each language.

Technical Risks

  • Language Errors:
    • To ensure that the Get Language action can retrieve language data correctly, make sure that the language settings are configured correctly.
  • Incorrect Language Display:
    • Language selection and content mapping must be done correctly so that the application can direct language content correctly.
  • Post-Language Change Compatibility:
    • Content compatibility must be ensured after a language change, and there should be no inconsistencies between data in the old language and data in the new language.

The Get Language action allows you to customize the application content according to user language preferences. You can personalise the user experience, deliver dynamic content with language changes, and make your application more interactive with multilingual support. By providing effective language management on both web and mobile platforms, you can make your application appeal to a much wider audience.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar