-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Waiting for: TriageAssigned automatically for any new issue, needs attention from a Weblate member.Assigned automatically for any new issue, needs attention from a Weblate member.
Description
Describe the issue
When working with strings that contain plural forms, Weblate incorrectly exports them to several non-Gettext formats (such as JSON, XLIFF, TBX, etc.).
While Gettext (.po) exports are generated correctly, the exported non-Gettext files contain invalid or incomplete plural data.
Additionally, when these exported files are imported back into Weblate, the translations become corrupted.
I already tried
- I've read and searched the documentation.
- I've searched for similar filed issues in this repository.
Steps to reproduce the behavior
- Export plural strings to a non-Gettext format (e.g. JSON, XLIFF, TBX, JSON).
- Import the exported file back into Weblate.
- Check the affected strings and their plural forms.
Expected behavior
Plural strings should be exported correctly to all supported formats, following the format specification.
Screenshots
source
exported data (xliff)
re-import result (xliff)
exported data (json)
re-import result (json)
Exception traceback
How do you run Weblate?
Docker container
Weblate versions
Weblate 5.14.3
Weblate deploy checks
Additional context
No response
Metadata
Metadata
Assignees
Labels
Waiting for: TriageAssigned automatically for any new issue, needs attention from a Weblate member.Assigned automatically for any new issue, needs attention from a Weblate member.