Find i18n usage
ProprietaryFinds i18n usage indicators: legacy i18n configuration in angular.json (i18nLocale, i18nFile, i18nFormat, i18nMissingTranslation), $localize tagged template literals, and @angular/localize imports. Projects with these markers need @angular/localize installed and import '@angular/localize/init' in polyfills.ts for Angular 9+.
org. openrewrite. angular. search. find-i18n-usagemod run . --recipe= org. openrewrite. angular. search. find-i18n-usageInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Find i18n configuration in
angular.json - Find
$localizeusage in TypeScript