RE: Multilanual sites using Smarty

From: Date: Tue, 13 Feb 2001 22:04:49 +0000
Subject: RE: Multilanual sites using Smarty
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-117@lists.php.net to get a copy of this message
Check http://stphp.sourceforge.net . Maciek > -----Original Message----- > From: Jonas Bengtsson [mailto:jonas.b@home.se] > Sent: Tuesday, February 13, 2001 11:01 PM > To: smarty@lists.ispi.net > Subject: [smarty] Multilanual sites using Smarty > > > Hello, > I'm developing a web-based system that shall support many languages. It > shall be as easy as possible to add and change languages. > One way to accomplish this is to use config files and have all strings in > them. One config file per language would be easiest when adding new > language. But will this be to inefficient? Because there are no > possibility > to choose multiple sections in config_load you must perform multiple > config_load. > There are also problems when I have to choose which string to > show from the > php script. Then I have to first config_load in my php script to get the > string I want (for instance an error message) and then in the tpl script > config_load for all other strings. This is not to prefer. I want > to load all > strings on one place. > Is there a better way to solve this? > > > Thanks in advance, > Jonas Bengtsson > > > --- > You are currently subscribed to smarty as: muhlig@us.edu.pl > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ > >

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