You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering how can I use the plugin and ignore the country code? The idea is that in my app I want to support let's say Russian language. The locale would be ru-RU, but if a user is located in Ukraine his or her locale would be ru-UA meaning that I'll have to add another json (ru-UA.json) and copy all the contents from ru-RU.json which leads to code duplication. This might easily get even more ugly, if I wanted to account for Belarus and add another locale - ru-BY.json and copy the same strings once again. Is there a way to just specify language code (e.g. ru.json) and call it a day ignoring country code?
The text was updated successfully, but these errors were encountered:
I'm wondering how can I use the plugin and ignore the country code? The idea is that in my app I want to support let's say Russian language. The locale would be
ru-RU
, but if a user is located in Ukraine his or her locale would beru-UA
meaning that I'll have to add another json (ru-UA.json
) and copy all the contents fromru-RU.json
which leads to code duplication. This might easily get even more ugly, if I wanted to account for Belarus and add another locale -ru-BY.json
and copy the same strings once again. Is there a way to just specify language code (e.g.ru.json
) and call it a day ignoring country code?The text was updated successfully, but these errors were encountered: