Next week is a big week for Elixir Localize
Elixir Localize, the evolution of ex_cldr will officially launch next week starting from Monday, April 13th. Each day there will be one or more libraries launching.
Monday sees the launch of localize that supersedes
ex_cldr. In a single library it contains localised number, currency, date/time, units of measure, list and message format 2 formatting for over 700 locales using the data from CLDR. In addition it includes a full CLDR-compliant collator. It compiles faster thanex_cldr, runs faster thanex_cldr, uses less memory thanex_cldrand has dynamic runtime locale loading mechanism that provides an overall better developer experience and a more complete and integrated localisation solution.On Tuesday,
localize_webwill launch. It provides localised routing, plugs for accept-language headers that then set the locale forlocalizeandgettextand some HTML helpers.Wednesday is the launch of
localize_person_namesfor formatting names in a localised manner; in formal, informal and other ways. Andthe launch of Calendricalwhich is a consolidated set of calendars now including Gregorian, Julian, Islamic (four variants), Hebrew, Persian, Indian, Buddhist, Composite and user definable. And a few more I probably missed.Thursday is the launch of
localize_addressandlocalize_phonenumber. These are still somewhat experimental and both NIF-based.localize_addresswraps the fabulous libpostal for parsing free-form address data and OpenCageData address-formatting templates for formatting.localize_phonenumberwraps the well-known libphonenumber for both parsing and formatting phone numbers from around the world.Friday is room for just one more thing.
Intlis an API wrapper forlocalizethat uses the ECMAScript Internationalization API called Intl. This gives developers who are more familiar with front-end development an easier on-boarding to localisation in Elixir.
Stand by for more updates, or subscribe to the RSS feed to be kept up-to-date.