Open rankun203 opened 7 years ago
Actually last try doesn't work at all.
Now we are using soft links (en-*.json -> en.json).
I have a use case for a fallback from de to en. And yes, in both cases I want to support de and en not being specific about a certain area.
UPDATE: Soft links are also not working.
As I don't really have much time for this project, I'd say PR welcome :)
Looking for a way to fallback
en-*
toen
.We have
en
language translated, but we don't have language files ofen-US
,en-CA
etc.[DOESN'T WORK] Right now we can only define all locales like this:
Then have the base function to slice all locales
base: locale => locale.slice(0, 2)
.However this isn't ideal, it would be better to support fallbacks officially.