Ticket #13575: nb_nn_fix.diff
File nb_nn_fix.diff, 689 bytes (added by , 14 years ago) |
---|
-
django/utils/translation/trans_real.py
360 360 361 361 # 'normalized' is the root name of the locale in POSIX format (which is 362 362 # the format used for the directories holding the MO files). 363 normalized = locale.locale_alias.get(to_locale(accept_lang, True))363 normalized = dict(locale.locale_alias, nb='nb', nn='nn').get(to_locale(accept_lang, True)) 364 364 if not normalized: 365 365 continue 366 366 # Remove the default encoding from locale_alias.