-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Official full JSON of CDLR #15
Comments
Ah, that's good news. I haven't taken a thorough look at the JSON format yet, but I sincerely hope it removes the need for node-cldr, since it's mostly an XML-to-JSON converter that knows how to resolve CLDR's weird What do you think? Have you tried working with the official JSON yet? |
Yes, I've tried it. It looks good. It's huge though (450MB unzipped). There is some discussion about perhaps creating a library for extracting only the parts you need and perhaps even a CDN on the Globalize project: globalizejs/globalize#224 (comment) |
I think it is still nice to have a library to ask for data instead of parsing a json file directly. Also it is nice as a dependency! I haven't looked all too deeply into it though. |
Since Globalize was already mentioned: The new version based on CLDR uses this project to deal with CLDR: https://github.com/rxaviers/cldrjs |
One aspect of where features in this lib would still be needed is generating the plural rule functions, since the plural rules are defined in strings. |
Perhaps this could help: https://github.com/eemeli/make-plural.js translates Unicode CLDR pluralization rules into executable JavaScript. |
Stopping by to inform that since CLDR 27 (release notes: http://cldr.unicode.org/index/downloads/cldr-27 ) JSON data is available on GITHUB only: |
On a related note: https://github.com/rxaviers/cldr-data-npm
|
CLDR release 25 brings the full CLDR data in JSON format: http://unicode.org/Public/cldr/25/
Any plans to use it? Will it affect this library?
The text was updated successfully, but these errors were encountered: