Re: Multilanguage Plugins?
| From: | Tom Sommer | Date: | Tue, 25 Mar 2003 11:38:38 +0000 |
| Subject: | Re: Multilanguage Plugins? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8883@lists.php.net to get a copy of this message | ||
On Tue, 25 Mar 2003 10:28:01 +0100, Jens Loehrer wrote:
> Can somebody point me to multilanguage soulutions with smarty? I need
> opinions about the best way to do that since I nevered used smarty in
> multilanguages projects. The postfilter lang (from
> http://smarty.php.net
> seem to be not working with Smarty 2.5. Is that confirmed?
Here is how I would do it
Create an array of translations, assign the array as "lang"
and in the templates just use {$lang.translated_text_identifier} instead of
static text?!
--
Tom Sommer, Denmark
www.tsn.dk - www.dreamcoder.dk