Lets say we have a page:
http://www.example.com/cs/department/category/
I am using django-locale for internationalization.
How am I going to achieve that if somebody type:
http://www.example.com/en/department/category/
EN instead of CS it will redirect.
I achieve this by commenting out the other languages like this:
But what I would like to do is keep them there uncommented. What would be the proper redirect in urls.py or views.py that only 'CS' is working. DE & EN would be redirected. If you dont understand I can clarify more.
Thanks