Set Language

Set Language

Set Language action is used to dynamically change the language of your application. With this action, you can automatically apply a specific language preference for the application and integrate the selected language into the application's interface and content to provide multilingual support. Additionally, you can enhance the user experience by offering different language options, making it more personalised and accessible.

Technical Features

  • Language Change: You can dynamically change the language preference of the application and update the text in the user interface.
  • Multilingual Support: By changing the language of the application, you can offer different language options and display the contents of the application in the correct language.
  • Personalised Experience: You can personalise the experience by offering content in the language preferred by users.
  • Web and Mobile Compatibility: The Set Language action is supported on both web and mobile applications.
Set Language Action Application Steps
  1. Log in to the Kuika platform and open the project you are working on.
  2. Go to the UI Design module and open the Properties panel on the right panel.
  1. + ADD ACTION menu, add the Multi Language > Set Language action according to the desired trigger event (Initial Actions, OnClick, OnBlur, etc.).

Parameters in Set Language Action

  • Culture Name: Specifies the language and culture information to be used in your application. The selected culture name determines the language and regional settings of the application, ensuring that the text and content in the user interface are displayed in the correct language.
    • Examples:
      • ‘en-US’ for English
      • ‘tr-TR’ for Turkish
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.

Set Language Action Advanced Customisations
  • Dynamic Language Selection: Dynamically retrieve the user's language preference from the login or language selection menu and automatically update the language settings.

Technical Risks

  • Incorrect Language Mapping: Ensure that the Culture Name parameter is set correctly and that valid culture codes are used.
  • Inconsistency after language change: Ensure that all content is updated correctly after the application language is changed.
  • Language preferences not saved: Ensure that user preferences are saved correctly and that the correct language is applied on each login.

The Set Language action allows you to dynamically change the language of your application and personalise the user experience with multilingual support. With this action, you can increase your application's global reach and appeal to a wider audience by presenting content in the user's preferred language. It can be used effectively on both web and mobile platforms.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar