tpl compile bugfix with translation