On Fri, 14 Aug 2020 06:59:05 -0400 James Valleroy <jvalle...@mailbox.org> wrote:
> I found a git repository for converting the data to JSON [1], along with 
> instructions on how to use it [2]. However, the cldr-localenames package is 
> not available on npm, and I didn't figure out how to rebuild it yet.
> 
> But I found another repository [3], in which I can simply run "npm install", 
> and it downloads the XML data and converts it to JSON. The resulting data is 
> very close to what is shipped in php-getttext-languages, and should be fine 
> for my purposes.
> 
> [1] https://github.com/unicode-cldr/cldr-json
> [2] http://cldr.unicode.org/development/updating-codes/updating-json-data
> [3] https://github.com/rxaviers/cldr-data-npm

My bad, [3] is not converting the data. It is downloading the data already in 
JSON format from multiple repositories under https://github.com/unicode-cldr. 
The list of URLs that it downloads is here:
https://github.com/rxaviers/cldr-data-npm/blob/master/urls.json

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to