easy_localization
easy_localization copied to clipboard
Incorrect plurals for Vietnamese, Bahasa and Tagalog
We are using the EasyLocalization for Vietnamese, Bahasa and Tagalog and use plurals to show 'day', 'days' ...
For Vietnamese the correct Json keys should be
"date": {
"day": {
"other": "{} ngày",
"zero": "{} ngày"
},
"today": "Hôm nay"
},
But
'date_day'.plural(1);
returns '1 day'
Explanation
This languages do not have separate form for 'one' localisation. Also we use https://app.phrase.com/ to manage translation. This service knows that and blocks us to add useless keys. But EasyLocalization do not follow this logic and is waiting for extra keys for 'one'. If it is omitted it fails back to failbackLocale that is English in our case.
Could you fix this?
Hi, I have the same issue when trying to display "day/days" at least for Ukrainian and Russian languages.