-
Notifications
You must be signed in to change notification settings - Fork 21
Support locale without country code. #63
Copy link
Copy link
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels