add translate text to the template