find strings in template files, and replace them with i18n strings