stuck on i18n-nulltranslations
Jonathan Riddell
jriddell at ubuntu.com
Fri Sep 9 11:59:07 UTC 2011
I'm stuck on a failure on this patch
https://code.launchpad.net/~jr/bzr/i18n-nulltranslations/+merge/72697
The patch reinstates gettext.NullTranslations in i18n to allow use of
i18n even when translations are not turned on, which I think is an important first step to having full i18n.
However it fails on
bzrlib.tests.test_transport.TestTransport.test_transport_fallback but
only when $LANGUAGE is not set, which seems to be the case on PQM.
When $LANGUAGE is not set i18n.install() will load up the config file
to check for a setting there (I think this is wrong, I think the
config file should override the environement variable but that's for
another patch.) This seems to cause a circular error where
UnsupportedProtocol gets raised for the config file.
So I don't know why this problem only affects my i18n-nulltranslations
patch in PQM, it should affect all. And I don't know how to fix it.
Any help appreciated.
Jonathan
More information about the bazaar
mailing list