Re: Multiple language support design question

From: Date: Mon, 07 Apr 2003 13:43:38 +0000
Subject: Re: Multiple language support design question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-142696@lists.php.net to get a copy of this message
"Neil Freeman" <neil.freeman@asa.co.uk> wrote in message news:3E9179FA.5030801@asa.co.uk... > That's great - thanks for the info Don. Also, if you are working with TemplateTamer, you can combine above approach with TT support for translations. for each {#TRANSKEY} construct in the template, TT will call translate($key) function on the page class, and substitute result without your further intervention. So you would initialize some translation array as described above, and define translate function to perform a simple lookup on it, and the rest would be handled automatically. rush -- http://www.templatetamer.com/

« previous php.general (#142696) next »