[isf-wifidog] Improving i18n support for Smarty template in WifiDog

Your Name ian.white at datamile-computers.com
Lun 22 Mai 04:34:42 EDT 2006


Some pages which might give a clue

http://smarty.incutio.com/?page=SmartestSmartyMultilanguageSupport
http://www.phpinsider.com/smarty-forum/viewtopic.php?
t=84&start=150&postdays=0&postorder=asc&highlight=
http://www.phpwact.org/php/i18n/utf-8
http://dev.joomla.org/index.php?option=com_jd-
wiki&Itemid=31&id=guidelines:utf-8
http://discuss.joelonsoftware.com/default.asp?joel.3.150299.6

Ian
> 
> OK, we will need to quickly improve our i18n scripts to support  
> Smarty sprintf formatting. There doesn't seem to be a built-in  
> support for sprintf() style formatting in Smarty. And that is 
already  
> an issue, since I cannot correctly translate some string in French  
> because I cannot swap words in sentences like we can do with sprintf 
> () in plain PHP.
> 
> I checked on sourceforge and there was a project, but it doesn't  
> provide the same kind of sprintf facilities.
> 
> Anybody had to figure out i18n with gettext before ?
> 
> 
> 
> 

-- 



More information about the WiFiDog mailing list