I have inherited a Django project that needs i18n. I have done all the usual actions required for i18n that I usually do in other projects and that usually work. But on this one it was not working, it's Django 1.3 so I went to the docs on i18n and followed all the steps and yet it's not working.
I don't know what could have gone wrong, since I did not set up all the project myself I don't know which part of it could break i18n.
In base.html I added the typical language select from the docs + the LANGUAGE_CODE tag to get some feedback:
<form action="/i18n/setlang/" method="post">
{% csrf_token %}
<input name="next" type="hidden" value="{{ redirect_to }}" />
<select name="language">
{% get_language_info_list for LANGUAGES as languages %}
{% for language in languages %}
<option value="{{ language.code }}">{{ language.name_local }} ({{ language.code }})</option>
{% endfor %}
</select>
Lang:{{ LANGUAGE_CODE }}
<input type="submit" value="Go" />
</form>
Whatever I do, the LANGUAGE_CODE always returns the default en-us or whatever I set in settings.
In which order should I check things? Where to start, what to change?