[spambayes-bugs] [ spambayes-Patches-1676576 ] gettext localization broken at all
SourceForge.net
noreply at sourceforge.net
Thu Mar 8 15:58:07 CET 2007
Patches item #1676576, was opened at 2007-03-08 15:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1676576&group_id=61702
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marko von Oppen (igs)
Assigned to: Nobody/Anonymous (nobody)
Summary: gettext localization broken at all
Initial Comment:
all tested under Python 2.4.4 for the "run from source" version. The "frozen" part of the code has not been tested and is untouched.
In my opinion the current source code version of localization can't work at all.
The python documentation says, gettext.find() looks for the message file under
<localedir>/<language>/LC_MESSAGES/<domain>.mo
So SpamBayes should provide <cvsroot>/spambayes/languages as <localedir>
but it doesn't. LC_DIR points to <cvsroot>/spambayes
The provided patch fixes that problem.
Code quality improvement:
The variable LC_DIALOGS was badly named. Better name is LC_LANG.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1676576&group_id=61702
More information about the Spambayes-bugs
mailing list