localization
Gives the server texts in the server's language.
Source: src/Moongate.Server.Ultima/Modules/LocalizationModule.cs
Functions
Section titled “Functions”localization.get(id, ...) -> stringReturns message id of data/messages in the server's language, with {0}, {1}, ... replaced by the extra arguments.
| Parameter | Type | Default |
|---|---|---|
id | integer | |
... | any |
Returns string.
language
Section titled “language”localization.language() -> stringReturns the server's language code, such as eng or ita.
Returns string.
localization.text(id) -> string?Returns the text of message id without filling in values, or nil when it does not exist.
| Parameter | Type | Default |
|---|---|---|
id | integer |
Returns string?.
Made with ❤️ by Tom
