diff --git a/lernanta/apps/l10n/urlresolvers.py b/lernanta/apps/l10n/urlresolvers.py index bbbb37fe..dec55c35 100644 --- a/lernanta/apps/l10n/urlresolvers.py +++ b/lernanta/apps/l10n/urlresolvers.py @@ -63,11 +63,13 @@ def split_path(self, path_): lang = first.lower() if lang in l10n.locales.LANGUAGE_URL_MAP: - return l10n.locales.LANGUAGE_URL_MAP[lang], rest + #return l10n.locales.LANGUAGE_URL_MAP[lang], rest + return 'en', rest else: supported = find_supported(first) if len(supported): - return supported[0], rest + #return supported[0], rest + return 'en', rest else: return '', path