It would make it easier for the developer, if Littera would auto detect the language without the need to provide an initial language.
The language is stored in navigator.language, we just need to parse it to our format (from en-US to en_US etc.) and check if the language is supported by the setup.
It would make it easier for the developer, if Littera would auto detect the language without the need to provide an initial language.
The language is stored in
navigator.language
, we just need to parse it to our format (fromen-US
toen_US
etc.) and check if the language is supported by the setup.https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language