collect l10n info from templates