Extract translatable strings from Swig template strings.