Re: Localizable template

From: Date: Mon, 07 Jun 2004 17:34:27 +0000
Subject: Re: Localizable template
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12973@lists.php.net to get a copy of this message
In article <1086616375.2613.10.camel@roadrunner.skyblue.gen.tr>, Enver Altin wrote: > --=-/DzPzg1LGR7QcFFRhvhH > Content-Type: text/plain; charset=ISO-8859-9 > Content-Transfer-Encoding: quoted-printable > > On Mon, 2004-06-07 at 01:35 +0200, Stefan Neufeind wrote: >> Do you just need to localise very few things? Otherwise maybe it=20 >> might be useful to separate the templates for all used languages.=20 >> E.g. it might be useful to have a separate menu-templatefile if you=20 >> decide to translate the menu. Same for content-pages etc. >>=20 >> However, surely this doesn't answer your question about gettext and=20 >> HTML_Template_IT - however I can't help you with that engine, sorry. > > Well, this is what I have done: > > function gettextize_text($t) { Meaby you like this: http://www.grep.be/articles/php-accept.php -- Tim Van Wassenhove <http://home.mysth.be/~timvw/contact.php>

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