jellyfin-vue icon indicating copy to clipboard operation
jellyfin-vue copied to clipboard

Handling of plural forms in localization

Open KucharczykL opened this issue 3 years ago • 3 comments

Hello, based on what I wrote on Matrix:

the string that's part of the new Next Up feature for displaying seconds only has versions
for singular and plural (X second and X seconds) but in many languages, including Czech,
we also need a third one that's usually used for numbers from 5 and up,
I believe non-Vue Jellyfin translations do have that (might be mistaking it for another project)

As @MrTimscampi said, there's more info here: https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html

KucharczykL avatar Jul 18 '21 14:07 KucharczykL

Issues go stale after 60 days of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14 days of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.

stale[bot] avatar Sep 21 '21 21:09 stale[bot]

Still interested.

KucharczykL avatar Sep 21 '21 21:09 KucharczykL

I think both the language names list and plurals handling should be brought in from weblate as the ISO 639-2 being used doesn't really fit.

https://github.com/WeblateOrg/language-data/blob/cadebc0451aa81cffd415468f85a3ffbef015cdd/cldr.csv

ptalmeida avatar Nov 01 '21 15:11 ptalmeida