gettext for the smarty3 framework