setLanguage
Last updated
Last updated
Allows users to set a default language for the app from the pre-defined languages in language settings.
Name | Description | Input Type | Default | Options | Required |
---|---|---|---|---|---|
N/A
Note: The component will be updated to show the translated text in the language specified by the user.
N/A
Coming Soon.
The user override the default language (English) of their App.
Go to language setting tab add language "chinese", add label "Language" and assign chinese word for the label as below:
Draw a Label with "Language" Caption, a button "setLanguage"
Call the function
Reload
The word "Language" will be changed to "语言选择".
In the language setting, the word used for mapping is case sensitive.
lang
The name of the language to be set as default.
String/Text
-
-
Yes