use tsmarty2c from gettext-smarty package