changed request.locale (not used anymore) to request.LANGUAGE_CODE