diff --git a/cms/envs/common.py b/cms/envs/common.py index 40b8bef9ab..05a1b63f5f 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -218,9 +218,11 @@ STATICFILES_DIRS = [ TIME_ZONE = 'America/New_York' # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name LANGUAGE_CODE = 'en' # http://www.i18nguy.com/unicode/language-identifiers.html -# We want i18n to be turned off in production, at least until we have full -# localizations. It's disconcerting for everything on the page to be in English -# except for one or two strings like "login" which are correctly localized. +# We want i18n to be turned off in production, at least until we have full localizations. +# Thus we want the Django translation engine to be disabled. Otherwise even without +# localization files, if the user's browser is set to a language other than us-en, +# strings like "login" and "password" will be translated and the rest of the page will be +# in English, which is confusing. USE_I18N = False USE_L10N = True diff --git a/lms/envs/common.py b/lms/envs/common.py index d45f8f8521..69d78764c5 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -455,9 +455,11 @@ FAVICON_PATH = 'images/favicon.ico' TIME_ZONE = 'America/New_York' # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name LANGUAGE_CODE = 'en' # http://www.i18nguy.com/unicode/language-identifiers.html -# We want i18n to be turned off in production, at least until we have full -# localizations. It's disconcerting for everything on the page to be in English -# except for one or two strings like "login" which are correctly localized. +# We want i18n to be turned off in production, at least until we have full localizations. +# Thus we want the Django translation engine to be disabled. Otherwise even without +# localization files, if the user's browser is set to a language other than us-en, +# strings like "login" and "password" will be translated and the rest of the page will be +# in English, which is confusing. USE_I18N = False USE_L10N = True