Re: i18n issue



El lun, 23-05-2005 a las 10:45 +0200, Marco Canini escribió:
> Hi, i'm facing with an i18n issue.
> I've a bunch of html templates. Those files are not complete html documents, 
> but snippet of html code. At run time i compose them into a complete html 
> document.
> I would like to add i18n to the strings contained into those files, while 
> avoiding having a copy of html code for each translated template into my 
> source tree.
> I'm using gettext.
> Is there a way to make gettext extract the strings and at make install time a 
> way to generate the templates for each language available?
> Eventually i can at run time pass the string to gettext, but i still need to 
> make gettext extract the strings.
> How can i achieve that?
> 

  The php scripting language has great support for gettext. Do you have
php available on your web server?
  Take a look at: http://php.net/gettext and
http://www.onlamp.com/pub/a/php/2002/06/13/php.html


> Thanks in advice for any help
-- 
Lucas Vieites Fariña
Dept. Desarrollo <lucas asixinformatica com>
Asix Informática <http://www.asixinformatica.com/>
Tel/Fax: +34 986 54 26 98



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]