Re: Multi-language and Smarty

From: Date: Tue, 29 Jan 2002 14:31:18 +0000
Subject: Re: Multi-language and Smarty
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2600@lists.php.net to get a copy of this message
On Tue, 29 Jan 2002, Andrei Zmievski wrote: > I didn't say this approach would work for everyone, just that in our > templates we don't have these kinds of messages. That's why Smarty lets > you do things more than one way. :) > I guess my question on this approach is, as the conf starts getting larger (depending on how many strings you place in it), does Smarty start incurring a noticable overhead delay in parsing/loading/reading it? I suppose you could create a conf for each language, and use the [] sections to break your strings up into different groups. Then you'd have something like: english.conf: [login] message="To login, type your username" ... Doesn't PHP support .po files? -phillip

« previous php.smarty.general (#2600) next »