Alan 068bb4001d docs: add deprecation and pr note
Docs are deprecated in favor of the the new pages in AIO which are WIP.
2019-01-09 09:14:13 -08:00

68 lines
1.3 KiB
Markdown

<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
**Documentation below is for CLI version 6 and we no longer accept PRs to improve this. For version 7 see [here](https://angular.io/cli/xi18n)**.
# 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>