Module

providers/i18n/local

Methods

# async inner getDefaultLocaleCode() → {Promise.<String>}

Returns the default locale code of the application, when no selected

default locale code

Promise.<String>

# async inner getLocale(localeCode) → {Promise.<Object>}

Returns an specific dictionary based on a locale code

Parameters:
Name Type Description
localeCode String

locale code to get the Locale/Dictionary from

locale associated

Promise.<Object>

# async inner getLocales() → {Promise.<Array.<String>>}

Returns all the available dictionaries/locales of the application

All the application local codes

Promise.<Array.<String>>