Changelog for Cldr v1.0.0-rc.0
This is the changelog for Cldr v1.0.0-rc.0 released on November 18th, 2017. For older changelogs please consult the release tag on GitHub
This version signals API stability and the first release candidate.
Enhancements
Adds two
Plug
s:Cldr.Plug.AcceptLanguage
will parse anaccept-language
header and resolve the best matched configuredCldr
locale. The result is stored inconn.private[:cldr_locale]
which is also returned byCldr.Plug.AcceptLanguage.get_cldr_locale/1
.Cldr.Plug.SetLocale
which will identify a requested locale in the request parameters oraccept-language
header and will set both/eitherCldr
andGettext
locales. The result is also stored inconn.private[:cldr_locale]
and is returned byCldr.Plug.SetLocale.get_cldr_locale/1
.
%LanguageTag{}
includes a new field:gettext_locale_name
which will be matched if possible to a configuredGettext
locale to aid cross-library collaboration.Refactored the functions in
Cldr.Map