[imp] Imp/horde cvs RELENG_3/RELENG_2 problems: language and threading

Jan Schneider jan@horde.org
Tue, 26 Mar 2002 13:59:17 +0100


Zitat von Hans Morten Kind <Kind@it.uib.no>:

> > > The menu bar language bug still is there: Application links
> > > ('Addressbook' in > > Imp, 'Mail' in Turba) in the menubar are
> > > displayed in the wrong language.
> > 
> > Absolutely correct. We haven't found a workaround for this yet.
> 
> This seems to do the trick around here:
> 
> In templates/menu/menu.inc (et al)
> 
>   Menu::printItem(Horde::url($registry->getInitialPage($app)),
>               _($registry->getParam('name', $app)),  // gettext here
>               $registry->getParam('icon', $ app), '');

That doesn't work because the application names get already translated if 
we can determine the language from the browser settings. And a translation 
from a translation is beyond gettext's scope. :-)

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft