Updated for Django 1.6

Removed populate_xheaders (see https://docs.djangoproject.com/en/dev/releases/1.6/#miscellaneous)
Added LANGUAGE_CODE replace '-' to '_'