def i18n_patterns(prefix, *args):
    pattern_list = patterns(prefix, *args)
    if not settings.USE_I18N:
        return pattern_list
    return [LocaleRegexURLResolver(pattern_list)]
Adds the language code prefix to every URL pattern within this
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/conf/urls/i18n.py/i18n_patterns