This class is used to translate the messages in another language See theTranslator for the one and only one instance of this class
Get a message translated
Name | Type | Description |
---|---|---|
msgid | String | The id to identify the message |
params | null or Object | Parameters to include in the message |
Load the translations
Name | Type | Description |
---|---|---|
translations | JsonObject | The translations to load |