![]() |
Uptooda Scripting API
|
Functions | |
| string | tr (string key, string englishText) |
| string tr | ( | string | key, |
| string | englishText | ||
| ) |
Translates a string to the current language.
| key | represents an id of this message, should be like "scriptname.some_key1.some_key2". scriptname should be the same as your script file (without .nut extension). |
| englishText | deprecated since 1.4.2 Translated strings should be stored in json file Scripts/Lang/<language_name>.json. |
Aliases for this function: Translate() (you can these functions in your code).