[Fixed]-How to check django i18n translations with one broser?

1👍

A very rough workaround: add translation.activate(user_language) code to your view, where user_language – required locale (e.g.: user_language = 'ru').

For a solid solution – implement code for switching languages or play with browser’s locale settings.

See more details here: https://docs.djangoproject.com/en/1.8/topics/i18n/translation/#how-django-discovers-language-preference

👤Dmitry

Leave a comment