Closed x-sheep closed 3 years ago
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 other
category is still dropped.
I only ran docker compose pull
to upgrade to the latest bleeding
version.
You will have to recreate affected components to apply this fix (weblate loadpo --force project/component
might work as well, but I'm not sure with that).
I already recreated the component manually. weblate loadpo --force (my component)
ran successfully, but didn't fix the problem:
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 https://github.com/translate/translate/pull/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
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