extract-i18n
ng extract-i18nExtracts i18n messages from source code.
Arguments
projectThe name of the project to build. Can be an application or a library.
stringOptions
build-targetA builder target to extract i18n messages in the format of project:target[:configuration]. You can also pass in more than one configuration name as a comma-separated list. Example: project:target:production,staging.
stringconfigurationcOne or more named builder configurations as a comma-separated list as specified in the "configurations" section in angular.json. The builder uses the named configurations to run the given target. For more information, see https://angular.dev/reference/configs/workspace-config#alternate-build-configurations.
stringformatOutput format for the generated file.
stringAllowed Valuesarb, json, legacy-migrate, xlf, xlf2, xlif, xliff, xliff2, xmbDefaultxlfhelpShows a help message for this command in the console.
booleani18n-duplicate-translationHow to handle duplicate translations.
stringAllowed Valueserror, ignore, warningout-fileName of the file to output.
stringoutput-pathPath where output will be placed.
stringprogressLog progress to the console.
booleanDefaulttrue