convert plain text in composer template to i18n