Source Data from CLDR
Data is from the ICU’s CLDR project when is downloaded in XML format. For ease of consumption it is then converted to json format and stored in the /data directory of the ex_cldr project which is typically in your project /deps directory.
Downloading updates to CLDR
A Mix task, cldr.download is available for downloading the latest CLDR repository. This task performs the following:
Download the CLDR latest repository into the
/downloadsdirectory of/deps/cldrAdds
/downloadsto.gitignoreunzips the downloaded filesUses the downloaded java app
ldml2jsonapp to translate the xml files to json in the/deps/cldr/datadirectory- Removes redundant
package.jsonandbower.jsonfiles from the/deps/cldr/datadirectory
Note
This Mix tasks is intended primarily for the use of the Cldr maintainer and not intended for general use.