Re: [SMARTY] i18n

From: Date: Mon, 05 Jan 2004 15:37:05 +0000
Subject: Re: [SMARTY] i18n
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10772@lists.php.net to get a copy of this message
Florian Mueller wrote:
To Everybody My question is, if there are some plans to include multible languages in smarty. There would be a Tag {i18n}red{/i18n} and a File messages_us.xml <messages> <message name="red">red</message> </messages> messages_de.xml <messages> <message name="red">rot</message> </messages> Is there planed something like this? Someone knows? kindly regards Flo
Greetings. I created a plugin named i18n at http://smarty.incutio.com/?page=i18n It is different to what you propose. Essentially, the different languages text are within the .tpl file, not in seperate files. I prefer it this way, but your way is also valid. Both should be available and people could choose the best solution that answer their needs. Best regards, Hans Deragon -- Consultant en informatique/Software Consultant
Deragon Informatique inc.     Open source:
http://www.deragon.biz        http://autopoweroff.sourceforge.net
mailto://hans@deragon.biz     http://swtmvcwrapper.sourceforge.net


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