-
-
Notifications
You must be signed in to change notification settings - Fork 642
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
Support pluralization rules for constructed languages (conlangs) #2150
Comments
|
Thank you very much! 🙏 I will close the issue for now then. If there are blockers, I'll re-open with new details. UPD: Yes, it worked perfectly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🚀 Feature Proposal
There has to be an option:
Note
At the moment,
PluralResolver.js
looks hardcoded to a set of popular languages, so this option requires some changes in code.art-x-????????
(where????????
is the language name) in yourLanguageUtils.js
(getLanguagePartFromCode) and allow adding significant enough constructed languages. For example:Note
Without the respective change,
getLanguagePartFromCode
will returnart
(Artificial) which is unusable for this purpose.Motivation
I want to contribute Interslavic translation to Allure Reporter, and the maintainers are okay about this, but...
The problem is that their project is using
i18next
, where I cannot configure pluralization rules for Interslavic language:Although
new Intl.PluralRules(...)
may never work correctly for some minority languages, I hope that this issue can be mitigated on the compatibility layer level (v1-v3) at the very least.Example
While the basic functionality of
i18next
works, this feature would enable translating plurals in unrecognized languages, which is essential to build software supporting these languages and contributing to their development:Footnotes
https://interslavic.fun/learn/grammar/numerals/#cardinal-numbers ↩
http://steen.free.fr/interslavic/numerals.html ↩
The text was updated successfully, but these errors were encountered: