Patches item #1676576, was opened at 2007-03-09 01:58 Message generated for change (Comment added) made by mhammond 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: Closed >Resolution: Fixed 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. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2007-03-09 10:22 Message: Logged In: YES user_id=14198 Originator: NO Thanks - looks good to me! Checking in i18n.py; new revision: 1.7; previous revision: 1.6 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1676576&group_id=61702 _______________________________________________ Spambayes-bugs mailing list [email protected] http://mail.python.org/mailman/listinfo/spambayes-bugs
