Hello, I have the option to change the language in nav_accounts.html like so:
{% block nav_account_languages %} {% if LANGUAGES|length > 1 %} <form id="language_selector" class="navbar-left navbar-form" action="{% url 'set_language' %}" method="post"> {% csrf_token %} <input name="next" type="hidden" value="{{ language_neutral_url_path }}" /> <div class="form-group"> <select name="language" class="form-control"> {% get_language_info_list for LANGUAGES as languages %} {% for language in languages %} <option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE%} selected="selected"{% endif %}> {{ language.name_local }} </option> {% endfor %} </select> </div> <button class="btn btn-default" type="submit" data-loading-text="{% trans 'Submitting...' %}">{% trans "Go" %}</button> </form> {% endif %} {% endblock %} However, when I change the language, I am redirected to www.example.com/catalogue I want to stay on the same page when the language is changed. so if I am in www.example.com and change the language I continue in www.example.com Anyone knows how can I do this? thanks -- https://github.com/django-oscar/django-oscar http://django-oscar.readthedocs.org/en/latest/ https://twitter.com/django_oscar --- You received this message because you are subscribed to the Google Groups "django-oscar" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/d8d90285-f0ef-4427-bd77-ba911de53afa%40googlegroups.com.