Plural forms
#1622
Replies: 1 comment 2 replies
-
It's already supported for Polish, see https://github.com/gotson/komga/blob/kobo/komga-webui/src/i18n.ts#L23-L52 and https://kazupon.github.io/vue-i18n/guide/pluralization.html#custom-pluralization PR welcome for other languages. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@gotson
Many languages (esspecialy slavic languages) need more than one plural form for strings with counts.
I'm not a programmer, so I don't know how to handle such strings separated with a bar character ' | '.
For instance the source string:
No book | 1 book | {count} books
I've translated it into Croatian as:
Nema knjige | 1 knjiga | {count} knjige
but Croatian needs two plural forms:
Nema knjige | 1 knjiga | {count} knjige | {count} knjiga
I don't know if adding more counts separated by a bar is possible. :-(
Please let me know if adding additional plural forms separated by a bar is possible/legit in this format.
Strings which I've found with this issue: https://hosted.weblate.org/search/komga/-/hr/?q=+%7C+&sort_by=-priority%2Cposition&checksum=
P.S.
This issue does not apply to the string
Series | Series
, as it's a simple singular/plural form without counts!Cheers,
Milo
Beta Was this translation helpful? Give feedback.
All reactions