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

Max Horváth max.horvath at maxspot.de
Lun 22 Mai 07:52:02 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On sf.net I found a nice Smarty module which IMO should do all the work:

http://sourceforge.net/projects/smarty-gettext/

Cheers, Max!

François Proulx wrote:

> 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 ?
>
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEcaXj+BKgC+eQ3ooRArj+AJsFRKFweiQB9qgaSFqlmRzLeTUMPgCfarWA
OUDw6zEeBpqts2f7SJJ4RCI=
=4GcH
-----END PGP SIGNATURE-----


More information about the WiFiDog mailing list