CLDR-19513 Add Tajik (tg) plural rules#5765
Conversation
5afc956 to
4ca109e
Compare
|
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
4ca109e to
8bdbce3
Compare
|
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
macchiati
left a comment
There was a problem hiding this comment.
The minimal pairs need to be supplied in the PR also.
e157e80 to
a80ab0a
Compare
|
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
|
Added minimal pairs in tg.xml (cardinal one/other with verb agreement: кард vs карданд, same pattern as Persian). |
Tajik is linguistically a variety of Persian written in Cyrillic script.
Its plural system is identical to Persian (fa):
- Cardinal: one (i = 0 or n = 1), other
- Ordinal: other (no ordinal distinction)
- Ranges: same as fa
Changes:
- plurals.xml: add tg to the fa group (one: i = 0 or n = 1)
- ordinals.xml: add tg to the "other only" group
- pluralRanges.xml: add tg to the fa group
- main/tg.xml: add pluralMinimalPairs for count="one"
Minimal pairs (cardinal):
- one: {0} нафар дар бозӣ ширкат кард. (singular verb)
- other: {0} нафар дар бозӣ ширкат карданд. (plural verb)
References:
- https://unicode-org.atlassian.net/browse/CLDR-19513
- nicksnyder/go-i18n#389
a80ab0a to
679b607
Compare
|
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
|
Updated minimal pairs in tg.xml to match the JIRA ticket and PR description: {0} бача омад / {0} бача омаданд (verb agreement: singular vs plural). |
CLDR-19513
Summary
Tajik (
tg) has locale data in CLDR (common/main/tg.xml) but is completely missing from plural rules (plurals.xml,ordinals.xml,pluralRanges.xml).This means all i18n libraries that derive plural rules from CLDR (ICU, go-i18n, JS Intl, Python Babel, PHP intl, FormatJS, etc.) cannot provide correct pluralization for Tajik content.
Tajik is the official language of Tajikistan (~10 million speakers) and is linguistically a variety of Persian written in Cyrillic script. Its plural system is identical to Persian (
fa).Changes
plurals.xml: addedtgto theam as bn doi fa gu hi kn kok kok_Latn pcm vi zugroup (one: i = 0 or n = 1,other)ordinals.xml: addedtgto the "other only" group (no ordinal distinction, same asfa)pluralRanges.xml: addedtgto theak fa or sdgroup (same range behavior asfa)main/tg.xml: addedpluralMinimalPairsforcount="one"and updatedcount="other"Linguistic evidence
Cardinal plural rules — identical to Persian (
fa):i = 0 or n = 1Minimal pairs:
Sources:
nplurals=2; plural=(n != 1)References