Smart-Plurals icon indicating copy to clipboard operation
Smart-Plurals copied to clipboard

utilize CLDR.js

Open H1D opened this issue 10 years ago • 3 comments

Hi! Just an idea. Using CLDR.js you can support literally any language described in spec http://cldr.unicode.org/

H1D avatar Mar 23 '15 12:03 H1D

By the looks of it, CLDR.js is almost identical to this library. But it sounds like CLDR is the defacto source of I18N rules, so that's a big plus.
But since the libraries are almost identical, I'm not sure what good Smart-Plurals would be.
I suppose my Angular filter is a benefit. Perhaps the libraries should be merged.

FYI, my original research was based off of http://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/Plural-forms.html which is probably pretty similar to CLDR's rules.

scottrippey avatar Mar 24 '15 21:03 scottrippey

cool.. Well. Decision is up to you =)

H1D avatar Mar 25 '15 08:03 H1D

https://github.com/jamesarosen/CLDR.js was closed, it's no longer maintaned. So, maybe it won't hurt to use http://cldr.unicode.org/ indeed?

Anyway, thanks for great library!

ArmorDarks avatar Oct 13 '15 07:10 ArmorDarks