Hi Ulf, Ulf Betlehem: [...] > ok, I compiled 2.0c1 and tried gettext. Now, there seems to be > a bug in the "normalize and expand" code that can prevent > gettext from finding an existing .mo file. The normalization > is done using a dictionary and therefore the languages get > reordered (as dict keys do). Later when selecting language the > function returns None if 'C' happens to come before the > required languages. I've included a patch to fix this. Your patch looks good to me. Thanks for taking the time to test and contributing the patch. I've submitted your bug report and your patch to sourceforge. See: https://sourceforge.net/bugs/?func=detailbug&bug_id=116964&group_id=5470 https://sourceforge.net/patch/?func=detailpatch&patch_id=101928&group_id=5470 Regards, Peter P.S.: Cc to python-dev -- Peter Funk, Oldenburger Str.86, D-27777 Ganderkesee, Germany, Fax:+49 4222950260 office: +49 421 20419-0 (ArtCom GmbH, Grazer Str.8, D-28359 Bremen)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4