Updated comment
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user