[Django]-LANGUAGE_CODE with dashes does not work: "es-mx, es-es, es-ar" but "es" does

6👍

I looked in the django repository how the framework is handling the locale forder structure and I found the solution (see the folders name):

enter image description here

Thanks for viewing.

2👍

The documentation linked in the settings.py file for django 1.3.1 redirect to : http://www.i18nguy.com/unicode/language-identifiers.html

Maybe try to use es-AR

I had the same problem for fr-FR.

Hope it helps you.

Leave a comment