README
locale-names
Set of locale keys and names.
Installation
yarn add locale-names
API
getLocales
prop | type | required | description |
---|---|---|---|
locales |
array |
true | An array with list of locales |
getLocaleNativeName
prop | type | required | description |
---|---|---|---|
localeKey |
string |
true | A name of the locale |
LocaleKeys
An object with list of locale keys and names.
License
MIT