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
Right now translations are initialized in main.js accordingly to Svelte docs:
main.js
init({ fallbackLocale: 'en', initialLocale: getLocaleFromNavigator() })
It's nice, but when user refreshes page, translations are going back to navigator locale. I would like to store this data in some cookie or whatever.
The text was updated successfully, but these errors were encountered:
I think cookie or local storage will be okay solution.
Sorry, something went wrong.
#24 - wip
7d6ffb5
d7706a3
#24 - remembering selected locale (#143)
8dfe7cc
* #24 - wip * #24 - wip
krzysztofrewak
Successfully merging a pull request may close this issue.
Right now translations are initialized in
main.js
accordingly to Svelte docs:It's nice, but when user refreshes page, translations are going back to navigator locale. I would like to store this data in some cookie or whatever.
The text was updated successfully, but these errors were encountered: