diff --git a/common/lib/xmodule/xmodule/modulestore/django.py b/common/lib/xmodule/xmodule/modulestore/django.py index 6988e649b4..053b01a6b9 100644 --- a/common/lib/xmodule/xmodule/modulestore/django.py +++ b/common/lib/xmodule/xmodule/modulestore/django.py @@ -384,6 +384,7 @@ class ModuleI18nService(object): pass def __getattr__(self, name): + name = 'gettext' if six.PY3 and name == 'ugettext' else name return getattr(self.translator, name) def strftime(self, *args, **kwargs):