-
-
Notifications
You must be signed in to change notification settings - Fork 958
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
stringsdict: Plural form zero is unsupported #6368
Comments
Thank you for your report; the issue you have reported has just been fixed.
|
I still only see two edit fields instead of three. While "Zero" and "Singular" are correctly labeled, the I only ran |
You will have to recreate affected components to apply this fix ( |
Ah, there is one more thing missing. I've just fixed it in git, you can apply the fix in the database right now: weblate shell -c 'from weblate.lang.models import Plural; from django.db.models import F; Plural.objects.filter(source=Plural.SOURCE_STRINGSDICT).update(number=F("number") + 1)' |
After running the fix listed above, everything works 👍 |
Great, thanks for testing this! |
Describe the issue
I'm trying the stringsdict support in the bleeding edge version (as implemented in translate/translate#4398, see also #623).
The stringsdict implementation allows the category
zero
to be used in all languages, but Weblate does not recognize this, and only uses the categories as defined in CLDR. This leads to a mismatch between the keys being displayed and the attached values.I already tried
If you didn’t try already, try to search there what you wrote above.
To Reproduce the issue
Steps to reproduce the behavior:
Expected behavior
Three fields should be displayed:
Screenshots
Server configuration and status
Weblate installation: Docker
Weblate deploy checks
The text was updated successfully, but these errors were encountered: