You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Writing localized modules. The text strings are separated out of the main code, allowing for better localization strategy without changing game code.
+TLocaleTable
keyMap: HashMap<String, HashMap<String, String>> // locale to key-value map.
// Make case-insensitive keys
(Add to module serialization)
>TModuleContext
+localeLanguage : String
+localeCountry : String
(Add to state save)
>TAMEOperation
+STRLOCALE(Value)
Value: A value coerced to string.
RETURN: The value that corresponds to the key (string). Key is case-insensitive.
The text was updated successfully, but these errors were encountered:
TAME Language Block
Serialized as Key-Value pairs after header.
Headers to Add
Used internally as the fallback locale when keys are not found. If none specified, this is
"default"
.Runtime Features to Add
--locale [arg]
- Force origin locale to[arg]
. Find it if not specified.Example
What Does this Help?
Writing localized modules. The text strings are separated out of the main code, allowing for better localization strategy without changing game code.
The text was updated successfully, but these errors were encountered: