Module

models/dictionary/locale

The locale Model to be used to handle different locales to select in the application

Methods

# inner locale(rawLocale) → {LocaleModel}

Creates a Locale model, with code and displayName

Parameters:
Name Type Description
rawLocale any

the non-parsed locale

a Dictionary Model

LocaleModel

Type Definitions

# LocaleModel

Properties:
Name Type Description
displayName String

Name of the locale to be displayed

code String

ISO locale code