-
-
Notifications
You must be signed in to change notification settings - Fork 952
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
Plural rules (i18next v4) not working for Montenegrin #11197
Comments
There are two issues here:
|
Writing is again caused by missing definitions in the translate-toolkit. |
This makes it easier to deal with non-standard names of the files. See WeblateOrg/weblate#11197
This now includes CLDR and Weblate aliases to better deal with files not using standard CLDR language codes. See WeblateOrg/weblate#11197
translate/translate#5212 should address saving/loading part, let's keep this issue open for the display issue. |
This now includes CLDR and Weblate aliases to better deal with files not using standard CLDR language codes. See WeblateOrg/weblate#11197
Great, thanks! |
We also met the similar issue : “aaaa”:"aaaa", “aaaa”:"aaaa", |
Is there any way to disable Plural rules ? |
@gs-xpeng You can use "JSON file" instead, it will load all keys as they are. The plural fix got finally released today at translate-toolkit: https://github.com/translate/translate/releases/tag/3.13.0 |
Describe the issue
I am using i18next v4 json files for my translations. Among the languages I also have Montengrin (me.js)
In the file me.js I had a plural form of the following translation:
"episode_one": "{number} epizoda",
"episode_other": "{number} epizoda",
"episode_few": "{number} epizode",
However, Weblate for some reason requires the forms one, few, many:
When I save this translation string I lose the episode_few key from my source file, but episode_one and episode_other are kept.
I already tried
Steps to reproduce the behavior
Weblate requires me to write entries:
Expected behavior
Weblate requires entering of
Screenshots
Exception traceback
No response
How do you run Weblate?
Other
Weblate versions
Weblate 5.3.1
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: