SetLocalization
Sets the path to the file with localized strings (localization file).
Syntax:
$SetLocalization( “filePath” )
| Parameter | Type | Description |
|---|---|---|
filePath | STRING | Global path or a path relative to the work directory. |
Localize
Searches for a string mapped to STRING_ID in a localization file. It outputs a found string, if it exists. Otherwise, it outputs defaultText.
Syntax:
$Localize( “STRING_ID”, “defaultText” )
| Parameter | Type | Description |
|---|---|---|
STRING_ID | STRING | Identifier of the string from the localization file. |
defaultText | STRING | Default text displayed if the localized string is not found. |