-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
Plurals are not included in a custom download for various formats (base format is i18next JSON) #5981
Comments
These formats do not support storing plurals. See also https://docs.weblate.org/en/latest/formats.html#translation-types-capabilities The gettext MO exporter is only supported from gettext PO files. |
Thanks for the quick response. I wrongly assumed export (and import) would just do a key-value mapping if the source supported it and there already were existing plural keys present. I suppose this also means that, if we were to manually generate excel files that included the For context: we have some translators that only want to work on excel files. My workaround was to export/import xlsx for them but I suppose that's not a viable route in that case. |
No, it would not work. |
Alrighty, thanks for clarifying. |
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you! |
This issue has been automatically marked as stale because there wasn’t any recent activity. It will be closed soon if no further action occurs. Thank you for your contributions! |
I have a project of which the base language files are JSON (i18next). Plurals are configured with either a
_plural
or_{count}
suffix. When attempting to create a custom download, plurals are not included in various formats. Changing the filters does not appear to have an effect. The translation status of the individual strings ("not translated" or "translated") also does not appear to make a difference.In one case I'm also getting a "Page not found" error (gettext MO).
Plurals are included in the following formats:
Plurals are not included in the following formats:
Not applicable:
Gives a "Page not found":
I already tried
To Reproduce the issue
Steps to reproduce the behavior:
_plural
or_{count}
).There's an additional minor issue I noticed here: when you want to download multiple formats, the "Download" button stops working after the first download. You have to refresh the page to get it to work again. Happy to open up a new issue for this one.
Expected behavior
Screenshots
Exception traceback
Server configuration and status
Weblate installation: Docker (4.6.0)
Weblate deploy checks
Additional context
The text was updated successfully, but these errors were encountered: