=== modified file 'phatch/core/config.py' --- phatch/core/config.py 2008-04-05 21:40:10 +0000 +++ phatch/core/config.py 2008-12-05 10:15:40 +0000 @@ -68,7 +68,7 @@ locale.setlocale(locale.LC_ALL, '') #get default canonical if necessary if canonical == 'default': - canonical = locale.getdefaultlocale()[0]#canonical + canonical = locale.getdefaultlocale(envvars=('LC_ALL', 'LANG'))[0] #canonical if canonical is None: #for mac canonical = 'en'