setLanguage
Description
Input / Parameter
Name
Description
Input Type
Default
Options
Required
Output
Callback
Video
Example
Step
Result
Notes
Links
Last updated
Allows users to set a default language for the app from the pre-defined languages in language settings.
lang
The name of the language to be set as default.
String/Text
-
-
Yes
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.
Last updated