commands.sh

ng extract-i18n

all

Extract i18n messages from source code.

More info →

Examples (6)

Extract i18n messages

Extract i18n messages in a specific format

ng extract-i18n --format arb|json|xlf|...

Extract i18n messages to a specific output file

ng extract-i18n --out-file path/to/file

Extract i18n messages to a specific directory

ng extract-i18n --output-path path/to/directory

Control how duplicate translations are handled

ng extract-i18n --i18n-duplicate-translation error|ignore|warning

Log progress to the console

ng extract-i18n --progress
made by @shridhargupta | data from tldr-pages