Open bryceco opened 5 months ago
Weblate doesn't yet support this propritetary way of storing plural, see https://github.com/translate/translate/issues/4614
The issue you've reported needs to be addressed in the translate-toolkit. Please file the issue there, and include links to any relevant specifications about the formats (if applicable).
I understand that this is a proprietary way of handling plurals in XLIFF, and I don't expect Weblate to provide first-class support to them. But I'm still confused about why the "one" and "other" strings are displayed while "few" and "many" are not. Is this also part of translate? Because the bug reports there imply they should be present, just not recognized as plural forms. Thanks!
I guess you've configured it as monolingual format and in that case only keys present in the source file are shown.
All 4 plurals are present in the XLIFF I'm uploading. Or maybe I misunderstand you. Edit: Okay, I think I see what you mean. So I should be able to fix it by disabling monolingual. Edit2: Removing the "Monolingual base language file" setting seems give me the result I wanted. Thanks @nijel!
Describe the issue
For my app I'm uploading XLIFF files generated by Xcode (XLIFF 1.2). The strings file includes plural forms for "one", "few", "many" and "other". However when viewing the strings on Weblate users only see entries for "one" and "other". Similarly when I download a PO of the strings the "few" and "many" strings are missing. When I download the XLIFF file using "File in original format as translated in the repository" XLIFF 1.2 with placeables support the plurals are there.
I already tried
Steps to reproduce the behavior
Expected behavior
No response
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
weblate.org service
Weblate versions
No response
Weblate deploy checks
No response
Additional context
No response