common_locale_data 2.2.1
common_locale_data: ^2.2.1 copied to clipboard
A type-safe and tree-shakable API to access translated common data (measurement units, date fields, country names etc...)
2.2.1 #
- Minor fix to LICENSE and README.md files
2.2.0 #
- Implemented inheritance for language specific locales to reduce source code and binary file sizes
2.1.0 #
- Include support for LocaleId's and printing of all fields (currency, script, variants, subdivisions)
- Add support for currency and subdivisions CLDR data
- Improved compile times, resulting file size etc. by changing maps from
CanonicalizedMap
toconst {}
, etc. - NOTE: Lookups via the
operator []
are still case-insensitive, however direct access to thelanguages.languages
,territories.territories
etc. members become case sensitive. - Added non-countries to territories map
- Added static access members for languages, territories, scripts, variants and currencies.
2.0.0 #
- Include all locales that are available from CLDR
- Change the
import
s to improve compile times when only a limited number of locales is used (breaking change) - Add support for Timezones
- Improved documentation
- Update to CLDR 46
1.2.0 #
- Added timezone data
- Improved documentation
- General code improvements
- Removed
cld
global variable - More flexible locale inclusion during generation
- Improved compile time by not by default importing/exporting all locales
- Add all locales available in CLDR
1.1.0 #
- Update to latest data of CLDR
1.0.1 #
- Add some API documentation
1.0.0 #
- Initial version