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 use navigator.language which can return values likes "en", "en-US", "fr", "fr-FR", "es-ES", etc.
It seems calling setLang using the 2 letter value like "fr" works, but not the 5 letter value like "fr-FR". There should be a fallback from "fr-FR" to "fr", "es-ES" to "es", ...Basically just keeping the 1st 2 letters should fix it.
The text was updated successfully, but these errors were encountered:
I use
navigator.language
which can return values likes "en", "en-US", "fr", "fr-FR", "es-ES", etc.It seems calling
setLang
using the 2 letter value like "fr" works, but not the 5 letter value like "fr-FR". There should be a fallback from "fr-FR" to "fr", "es-ES" to "es", ...Basically just keeping the 1st 2 letters should fix it.The text was updated successfully, but these errors were encountered: