[horde] gettext

Jan Schneider jan at horde.org
Tue Feb 24 13:20:47 PST 2004


Zitat von Peter Mueller <peter.mueller at freelinks.ch>:

> hello
>
> i have a domain and want utilize in a separate application translation from
> horde, but i don't know which parameters i must take.
>
> f.e.
> setlocale(LC_ALL, 'de_DE');
> putenv('LANG=de_DE');
> putenv('LANGUAGE=de_DE');
> bindtextdomain ("messages", "./locale");
> textdomain ("messages");
>
> print (gettext ("Add pair"));

This won't work, you can only bind gettext to one single domain. But this is
actually a gettext or php, but not a horde question.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft



More information about the horde mailing list