miroslavkovac / Lingo

Powerful Swift string localization library with support for pluralization and string interpolation.
MIT License
60 stars 10 forks source link

Pluralization support for multiple nl, fr #6

Open glennverhalle opened 3 years ago

glennverhalle commented 3 years ago

Currently Lingo supports nl as a language for pluralization.

Dutch (nl) is spoken in both Belgium (1 of 3 official languages) and The Netherlands (Holland) as a primary language. There are however subtle differences and words not known in each country or have a different meaning (eg containerpark vs milieupark for a recycling facility). So an nl_BE and nl_NL would be great to make a difference (I've currently have 2 lists, but only using one because of this limitation.

The same request for fr_BE (I see that there is already a fr and fr_FR), again some big differences here between French from Belgium and France (septante vs soixante-dix for seventy)

miroslavkovac commented 3 years ago

Hi @glennverhalle, thanks for the feedback. Can you please try version 3.1.0 if it solves the issue? Thanks.

glennverhalle commented 3 years ago

Sorry for the late reply but things have been very busy. I'm using Lingo-Vapor 4.0.0, can you also update to use v3.1.0 so I can test it. TIA

miroslavkovac commented 3 years ago

Hi @glennverhalle, please take a look at Lingo-Vapor 4.1.0. Let me know how it works, cheers :)