mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 22:34:21 +08:00
67 lines
1.1 KiB
Markdown
67 lines
1.1 KiB
Markdown
<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
|
|
|
|
# ng xi18n
|
|
|
|
## Overview
|
|
`ng xi18n` Extracts i18n messages from the templates.
|
|
|
|
```bash
|
|
ng xi18n [project]
|
|
```
|
|
|
|
## Options
|
|
<details>
|
|
<summary>configuration</summary>
|
|
<p>
|
|
<code>--configuration</code> (alias: <code>-c</code>)
|
|
</p>
|
|
<p>
|
|
Specify the configuration to use.
|
|
</p>
|
|
</details>
|
|
<details>
|
|
<summary>browser-target</summary>
|
|
<p>
|
|
<code>--browser-target</code>
|
|
</p>
|
|
<p>
|
|
Target to extract from.
|
|
</p>
|
|
</details>
|
|
<details>
|
|
<summary>i18n-format</summary>
|
|
<p>
|
|
<code>--i18n-format</code>
|
|
</p>
|
|
<p>
|
|
Output format for the generated file.
|
|
</p>
|
|
</details>
|
|
<details>
|
|
<summary>i18n-locale</summary>
|
|
<p>
|
|
<code>--i18n-locale</code>
|
|
</p>
|
|
<p>
|
|
Specifies the source language of the application.
|
|
</p>
|
|
</details>
|
|
<details>
|
|
<summary>output-path</summary>
|
|
<p>
|
|
<code>--output-path</code>
|
|
</p>
|
|
<p>
|
|
Path where output will be placed.
|
|
</p>
|
|
</details>
|
|
<details>
|
|
<summary>out-file</summary>
|
|
<p>
|
|
<code>--out-file</code>
|
|
</p>
|
|
<p>
|
|
Name of the file to output.
|
|
</p>
|
|
</details>
|