Translation template extractor