diff --git a/cms/templates/base.html b/cms/templates/base.html
index c306814ecddd..68df2d1a0e13 100644
--- a/cms/templates/base.html
+++ b/cms/templates/base.html
@@ -60,10 +60,9 @@
% endif
- % if LANGUAGE_CODE != 'en':
-
- % elif settings.DEBUG or LANGUAGE_CODE == 'en':
- ## Provides a fallback for gettext functions for English and in debug mode
+
+ % if settings.DEBUG:
+ ## Provides a fallback for gettext functions in development environment
% endif
diff --git a/lms/templates/main.html b/lms/templates/main.html
index 9bf5992173b5..1a11900dae58 100644
--- a/lms/templates/main.html
+++ b/lms/templates/main.html
@@ -79,10 +79,9 @@
}
% endif
- % if LANGUAGE_CODE != 'en':
-
- % elif settings.DEBUG or LANGUAGE_CODE == 'en':
- ## Provides a fallback for gettext functions for English and in debug mode
+
+ % if settings.DEBUG:
+ ## Provides a fallback for gettext functions in development environment
% endif