[Python-bugs-list] [Bug #116964] gettext may fail to find .mo file

noreply@sourceforge.net noreply@sourceforge.net
Mon, 16 Oct 2000 00:18:17 -0700


Bug #116964, was updated on 2000-Oct-16 00:06
Here is a current snapshot of the bug.

Project: Python
Category: Library
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: gettext may fail to find .mo file

Details: Ulf Betlehem <flu@iki.fi> wrote to me:

        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.

I will enter Ulf's patch into the patch manager ASAP.
Regards, PeFu

Follow-Ups:

Date: 2000-Oct-16 00:18
By: PeFu

Comment:
Patch #101928 should fix this bug.
This patch was also prepared by Ulf Betlehem.  Thank you Ulf!
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=116964&group_id=5470