From smarty-general Mon Jan 05 15:31:02 2004 From: Gabriel Birke Date: Mon, 05 Jan 2004 15:31:02 +0000 To: smarty-general Subject: Re: [SMARTY] i18n Message-Id: <2BA47BC2-3F94-11D8-8971-003065FA313E () kontor4 ! de> X-MARC-Message: https://marc.info/?l=smarty-general&m=107331667006493 Not exactly as you described, but there ARE i18n functions for Smarty. You can try the gettext function for smarty: http://smarty.incutio.com/?page=SmartestSmartyMultilanguageSupport It's not bad but has some quirks (quotes, tags) and shortcomings (no easy way to insert vars into localized string - as described in the "best practices" in the gettext manual) Or you can try the Localizer plugin (haven't tested this): http://smarty.incutio.com/?page=LocalizerPlugin Am Mittwoch, 31.12.03 um 15:58 Uhr schrieb Florian Mueller: > 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 > > > red > > > messages_de.xml > > > rot > > > Is there planed something like this? Someone knows? > > With best regards Gabriel Birke -- KONTOR4_Neue Medien Nelkenstrasse 3 31515 Wunstorf Germany Phone: +49 5031-955244 Fax: +49 5031-955231 mailto:birke@kontor4.de http://www.kontor4.de -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php