Re: gettext usage

From: Date: Fri, 18 Jan 2002 15:58:16 +0000
Subject: Re: gettext usage
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-676@lists.php.net to get a copy of this message
On Fri, 18 Jan 2002 16:03:07 +0100, matthieu foillard wrote: > i'm using a simple tag parsing system and i > create a tag like {translate text='text_to_translate'} > when i parse the template file, a callback function > do : > eval('$txt = _("'.$txt.'");'); > > to translate the 'text' attribut from the tag. > the problem is that gettext need a .mo file in order to translate > strings. > > do you see how could i do this ? Please post your question to php-general@lists.php.net. This is the right lists for questions regarding questions about using PHP. - Martin -- Martin Jansen, <mail@martin-jansen.de> http://www.martin-jansen.de/

« previous php.pear.general (#676) next »