Django-multilingual and switching between languages ​​on the template side

I am trying to use django-multilingual and configure it correctly. But I found that for django-multilingual everything is clear except for the example of using the template.

I just started using django, and I don’t know, maybe for this reason I can’t figure out how to switch between languages ​​on the template side.

Is there any example you can give or some “more” clear source / documentation about this?

+5
source share
2 answers

Switching locales in django is a simple entry that makes this view

https://docs.djangoproject.com/en/dev/topics/i18n/translation/#the-set-language-redirect-view

. LANGUAGE_CODE

+4

django-localeurl . , URL-. .

+4

All Articles