Gettext support for Smarty