Extracts gettext phrases from smarty template files