Class Helix.Core.Server.i18n

Class methods

GetLocale() -> string

Get the current locale for the user translations.

Returns a string.

SetLocale(string)

Set the locale for the current user translations.

Only necessary if overriding the defaults.

GetMessage(string, strings, ... ) -> string

Get a translated message.

Parameters: string messageName, strings substitutions