I need to include two buttons or links to allow users change language between English and Spanish. I’ve read the docs and tried this: <form action="/i18n/setlang/" method="post">{% csrf_token %} <input name="language" type="hidden" value="es" /> <input type="submit" value="ES" /> </form> However, every time I click the button, the page is reloaded but the language doesn’t change [...]
The post Issue trying to change user from Django template appeared first on BlogoSfera.