Extract strings from the template files.