AthenaShared.locale.locale.LocaleController ​
shared/locale/locale.LocaleController
Constructors ​
constructor ​
• new LocaleController()
Methods ​
get ​
Usage
AthenaShared.locale.locale.LocaleController.Static get(key, ...args): string
Get a locale based on its key value.
Static
Parameters ​
| Name | Type |
|---|---|
key | string |
...args | any[] |
Returns ​
string
Defined in ​
getWebviewLocale ​
Usage
AthenaShared.locale.locale.LocaleController.Static getWebviewLocale(key): Object
Returns an object of strings with labels for WebViews.
Static
Parameters ​
| Name | Type |
|---|---|
key | string |
Returns ​
Defined in ​
setLanguage ​
Usage
AthenaShared.locale.locale.LocaleController.Static setLanguage(iso639?): void
The ISO-639-1 Code to Utilize for Language
Static
Parameters ​
| Name | Type | Default value |
|---|---|---|
iso639? | string | 'en' |
Returns ​
void
V5 Docs