User avatar
🧊 neocat_flag_demiguy neocat_flag_pan neocat_flag_ukraine @rain@itsraining.twink.men
1w
what the hell is i18next and how do i deal with {count, plural, one {# other} other {# others}} you follow
2
0
0
0
User avatar
🧊 neocat_flag_demiguy neocat_flag_pan neocat_flag_ukraine @rain@itsraining.twink.men
1w
especially when there's separate forms for 0, 1, 2-4, 5-9 in Ukrainian
:noted@plasmatrap.com:1
1
0
0
1
User avatar
🧊 neocat_flag_demiguy neocat_flag_pan neocat_flag_ukraine @rain@itsraining.twink.men
1w
nvm, my singular they policy when i do Ukrainian translations came to rescue
{count, plural, one {# Ρ–Π½ΡˆΡ–} other {# Ρ–Π½ΡˆΠΈΡ…}} Π½Π° ΠΊΠΎΠ³ΠΎ Π’ΠΈ підписані
1
0
0
0
User avatar
🧊 neocat_flag_demiguy neocat_flag_pan neocat_flag_ukraine @rain@itsraining.twink.men
1w
{count, plural, one {# follower} other {# followers}}
well, shit
would that be something like this?
{count, plural, one {# підписник} few {# підписники} many {# підписників} other {# підписників}}
1
0
0
0
User avatar
Catboy Cody v_cat​v_bott​v_mlmv_acems_furry_pride @CatboyCody@tech.lgbt
1w
@rain A bit of googling found this: jsfiddle.net/6bpxsgd4

Bottom-right: Enter "uk" for the language code and it will show you the rules for one, few and many.

In short: It's language dependent and for Ukrainian use "one" for the ones, "few" for the 2-4s and "many" for the rest.
1
0
0
0
User avatar
🧊 neocat_flag_demiguy neocat_flag_pan neocat_flag_ukraine @rain@itsraining.twink.men
1w
@CatboyCody i've since then found this github issue
github.com/i18next/i18next/issues/1995
with the dev listing the table, which also includes
other for floats and 10, 100 etc.
1
0
1
0

User avatar
Catboy Cody v_cat​v_bott​v_mlmv_acems_furry_pride @CatboyCody@tech.lgbt
1w
@rain Pleasure to be of great help once again... floofWoozy
1
0
1
0
User avatar
🧊 neocat_flag_demiguy neocat_flag_pan neocat_flag_ukraine @rain@itsraining.twink.men
1w
@CatboyCody well, thank you anyway! floofPat
0
0
1
0