We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language
const language = useLanguage();
The text was updated successfully, but these errors were encountered:
What benefit does this have over just accessing navigator.language? Is there an event for the user changing their language?
navigator.language
Sorry, something went wrong.
Is there an event for the user changing their language?
Officially there is but I have to check the browser support.
Ah, looks like its in a few places: https://developer.mozilla.org/en-US/docs/Web/Events/languagechange
No branches or pull requests
https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language
The text was updated successfully, but these errors were encountered: