build: add script to extract i18n tags from templates