diff -r 6510654269a6 -r 29cdde6bb9ef cwconfig.py --- a/cwconfig.py Thu Dec 08 14:30:00 2011 +0100 +++ b/cwconfig.py Thu Dec 08 14:32:57 2011 +0100 @@ -1149,7 +1149,7 @@ def _gettext_init(self): """set language for gettext""" - from gettext import translation + from cubicweb.gettext import translation path = join(self.apphome, 'i18n') for language in self.available_languages(): self.info("loading language %s", language)