@nx/angular:extract-i18n

Extracts i18n messages from source code.

Options can be configured in project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/reference/project-configuration#targets.

Options

buildTarget

Required
string
Pattern: ^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$

A 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.

format

string
Default: xlf
Accepted values: xmb, xlf, xlif, xliff, xlf2, xliff2, json, arb, legacy-migrate

Output format for the generated file.

outputPath

string

Path where output will be placed.

outFile

string

Name of the file to output.

progress

boolean
Default: true

Log progress to the console.