Ticket #11598: i18n.py.diff
File i18n.py.diff, 561 bytes (added by , 15 years ago) |
---|
-
i18n.py
133 133 path = os.path.join(os.path.dirname(p.__file__), 'locale') 134 134 paths.append(path) 135 135 try: 136 catalog = gettext_module.translation(domain, path, [ 'en'])136 catalog = gettext_module.translation(domain, path, [settings.LANGUAGE_CODE]) 137 137 t.update(catalog._catalog) 138 138 except IOError: 139 139 # 'en' catalog was missing. This is harmless.