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
Whatever I send in "Accept-Language" header parameter: "es", "es_AR" or "en_US" always loads the defaultLocale language, only when I completely remove localeAlias setting then I can set "es" in the header and the language changes otherwise I'm stuck with defaultLocale
It seems to be totally broken. Also what happens if I want 2 aliases for "es"?, since it's not possible to repeat keys in an object, maybe I should invert key values but that doesn't work and it's not how it's documented in the readme.
The text was updated successfully, but these errors were encountered:
I'm trying to make this work:
Whatever I send in "Accept-Language" header parameter: "es", "es_AR" or "en_US" always loads the defaultLocale language, only when I completely remove localeAlias setting then I can set "es" in the header and the language changes otherwise I'm stuck with defaultLocale
It seems to be totally broken. Also what happens if I want 2 aliases for "es"?, since it's not possible to repeat keys in an object, maybe I should invert key values but that doesn't work and it's not how it's documented in the readme.
The text was updated successfully, but these errors were encountered: