wagtail / wagtailtrans

A Wagtail add-on for supporting multilingual sites
http://wagtailtrans.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
104 stars 60 forks source link

How to explicitly set default language? #201

Open enginhu opened 3 years ago

enginhu commented 3 years ago

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.