Skip to content
New issue

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

How to explicitly set default language? #201

Open
enginhu opened this issue Nov 19, 2020 · 0 comments
Open

How to explicitly set default language? #201

enginhu opened this issue Nov 19, 2020 · 0 comments

Comments

@enginhu
Copy link

enginhu commented Nov 19, 2020

Hi,
I have a website which has 2 languages. Everything works perfect but i just need to set the default language for every user. Users can change the language if they want but i want to serve the website in default language.
I've made some search and found that maybe i can do it with django.views.i18n.set_language() but couldn't find how.
Any help would be great.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant