mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 22:34:21 +08:00
78 lines
1.4 KiB
Markdown
78 lines
1.4 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.
|
|
|
|
## Options
|
|
<details>
|
|
<summary>app</summary>
|
|
<p>
|
|
<code>--app</code> (aliases: <code>-a</code>) <em>default value: 1st app</em>
|
|
</p>
|
|
<p>
|
|
Specifies app name to use.
|
|
</p>
|
|
</details>
|
|
|
|
<details>
|
|
<summary>i18n-format</summary>
|
|
<p>
|
|
<code>--i18n-format</code> (aliases: <code>-f</code>)
|
|
</p>
|
|
<p>
|
|
Output format for the generated file: either `xmb` or `xlf`.
|
|
</p>
|
|
</details>
|
|
|
|
<details>
|
|
<summary>locale</summary>
|
|
<p>
|
|
<code>--locale</code> (aliases: <code>-l</code>)
|
|
</p>
|
|
<p>
|
|
Specifies the source language of the application.
|
|
</p>
|
|
</details>
|
|
|
|
<details>
|
|
<summary>out-file</summary>
|
|
<p>
|
|
<code>--out-file</code> (aliases: <code>-of</code>)
|
|
</p>
|
|
<p>
|
|
Name of the file to output.
|
|
</p>
|
|
</details>
|
|
|
|
<details>
|
|
<summary>output-path</summary>
|
|
<p>
|
|
<code>--output-path</code> (aliases: <code>-op</code>)
|
|
</p>
|
|
<p>
|
|
Path where output will be placed.
|
|
</p>
|
|
</details>
|
|
|
|
<details>
|
|
<summary>progress</summary>
|
|
<p>
|
|
<code>--progress</code> <em>default value: true inside TTY, false otherwise</<em>
|
|
</p>
|
|
<p>
|
|
Log progress to the console while running.
|
|
</p>
|
|
</details>
|
|
|
|
<details>
|
|
<summary>verbose</summary>
|
|
<p>
|
|
<code>--verbose</code>
|
|
</p>
|
|
<p>
|
|
Adds more details to output logging.
|
|
</p>
|
|
</details>
|