jellyfin / jellyfin-vue

A modern web client for Jellyfin based on Vue
https://jellyfin.org
GNU General Public License v3.0
1.28k stars 228 forks source link

Handling of plural forms in localization #1354

Open KucharczykL opened 3 years ago

KucharczykL commented 3 years ago

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

stale[bot] commented 3 years ago

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.

KucharczykL commented 3 years ago

Still interested.

ptalmeida commented 3 years ago

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