Hi everyone,
We are building an Editor component for working with L20n plural strings in
Pootle.
I need to get a list of named plural forms by language code.
For instance:
getPluralForms('en') returns ['one', 'other']
getPluralForms('ru') returns ['one', 'few', 'many', 'other']
It would be great if you can add such function to
https://github.com/l20n/l20n.js/blob/9e79377dae774fe4361d2fe2fd0440df79d6d294/src/intl/plurals.js
Taras
P.S. based on current implementation it can look like
https://gist.github.com/ta2-1/c960f197bfa1c233d1763fde71765cea
_______________________________________________
tools-l10n mailing list
[email protected]
https://lists.mozilla.org/listinfo/tools-l10n