Ticket #3907: trans_real.py.diff

File trans_real.py.diff, 581 bytes (added by nmariz@…, 8 years ago)

I think is that you want. Sorry, I'm new to svn.

  • trans_real.py

     
    336336
    337337        for lang, mainlang, order in langs:
    338338            if lang in supported or mainlang in supported:
     339                if not lang in supported and mainlang in supported:
     340                    lang = mainlang
    339341                langfile = gettext_module.find('django', globalpath, [to_locale(lang)])
    340342                if langfile:
    341343                    # reconstruct the actual language from the language
Back to Top