cldr: use own conversion instead of relying on cldr-to-gettext-plural-rules

- cldr-to-gettext-plural-rules seems unmaintaned and haven't recevied
  recent CLDR updates
- this removes extra dependency on PHP for the conversion
- uses the same CLDR data as we already use
- the code is pretty much ported from cldr-to-gettext-plural-rules to
  produce same output with same input
This commit is contained in:
Michal Čihař 2024-01-29 12:06:44 +01:00
parent 00deaac38a
commit 0dab099cd2
6 changed files with 301 additions and 23 deletions

3
.gitmodules vendored
View file

@ -1,6 +1,3 @@
[submodule "cldr-to-gettext-plural-rules"]
path = modules/cldr-to-gettext-plural-rules
url = https://github.com/mlocati/cldr-to-gettext-plural-rules.git
[submodule "modules/gettext"]
path = modules/gettext
url = https://git.savannah.gnu.org/git/gettext.git