Re: Multi-language and Smarty

From: Date: Tue, 29 Jan 2002 09:36:39 +0000
Subject: Re: Multi-language and Smarty
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2591@lists.php.net to get a copy of this message
AFCad> I will shortly begin work on a very large portal-type site for a local AFCad> city that has to be made available in at least 2, but probably more, AFCad> languages. I will be using Smarty for this site. Have you already developed AFCad> multi-language sites using Smarty? What is the best approach? I've already developped a quite basic multilingual site, and it was easy: in my templates directory, i've got one subdirectory per language: templates/fr /en /de ... and i just display templates depending on a $lang variable: $tpl->display("$lang/template.tpl") for the database stuff, if any, it just depends on the content of your database, but i don't think it is related to smarty :) Bertrand DUNOGIER

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