LinuxCommandLibrary

ng-extract-i18n

extracts internationalization messages from Angular templates

TLDR

Extract messages

$ ng extract-i18n
copy
Extract to specific format
$ ng extract-i18n --format [xlf]
copy
Extract to output path
$ ng extract-i18n --output-path [locale/]
copy
Extract for specific project
$ ng extract-i18n --project [my-app]
copy

SYNOPSIS

ng extract-i18n [options]

DESCRIPTION

ng extract-i18n extracts internationalization messages from Angular templates. Generates translation source files for localization workflow. Supports XLIFF, XMB, and JSON formats.

PARAMETERS

--format format

Output format (xlf, xlf2, xmb, json, arb).
--output-path path
Output directory.
--out-file file
Output filename.
--project name
Project to extract from.
--progress
Show progress.

SEE ALSO

ng(1), ng-build(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community