Ticket #7831: 7831.patch

File 7831.patch, 533 bytes (added by bear330, 16 years ago)

Simple patch to fix that.

  • trans_real.py

     
    392392
    393393        for lang, dirname in ((accept_lang, normalized),
    394394                (accept_lang.split('-')[0], normalized.split('_')[0])):
    395             if lang not in supported:
     395            if lang.lower() not in supported:
    396396                continue
    397397            langfile = os.path.join(globalpath, dirname, 'LC_MESSAGES',
    398398                    'django.mo')
Back to Top