Smarty language modifier