cargo ux extract-i18n

This is a Draft Version

Extracts i18n messages from source code.

cargo ux extract-i18n <project> [options]
cargo ux i18n-extract <project> [options]
cargo ux xi18n <project> [options]


ArgumentDescriptionValue Type
projectThe name of the project to build. Can be an application or a library.string


OptionDescriptionValue TypeDefault Value
--browser-targetA browser 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.string
--configurationOne or more named builder configurations as a comma-separated list as specified in the "configurations" section of ux.yaml. The builder uses the named configurations to run the given target. For more information, see Setting this explicitly overrides the "--prod" flag. Aliases: -cstring
--formatOutput format for the generated file.xmb|xlf|xlif|xliff|xlf2|xliff2|json|arbxlf
--helpShows a help message for this command in the console.true|false|jsonfalse
--ivyUse Ivy compiler to extract translations. The default for Ivy applications.boolean
--out-fileName of the file to output.string
--output-pathPath where output will be placed.string
--prodShorthand for "--configuration=production". Set the build configuration to the production target. By default, the production target is set up in the workspace configuration such that all builds make use of bundling, limited tree-shaking, and also limited dead code elimination.boolean
--progressLog progress to the console.booleantrue