diff --git a/aio/content/guide/deprecations.md b/aio/content/guide/deprecations.md index 61bc0a975c..fa36fe55e8 100644 --- a/aio/content/guide/deprecations.md +++ b/aio/content/guide/deprecations.md @@ -80,7 +80,7 @@ Tip: In the [API reference section](api) of this site, deprecated APIs are indic | API | Replacement | Deprecation announced | Notes | | --------------------------------------------------------------------------------------------- | --------------------------------------------------- | --------------------- | ----- | -| [`CurrencyPipe` - `DEFAULT_CURRENCY_CODE`](api/common/CurrencyPipe#currency-code-deprecation) | `{provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}` | v9 | From v11 the default code will be extracted from the locale data given by `LOCAL_ID`, rather than `USD`. | +| [`CurrencyPipe` - `DEFAULT_CURRENCY_CODE`](api/common/CurrencyPipe#currency-code-deprecation) | `{provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}` | v9 | From v11 the default code will be extracted from the locale data given by `LOCALE_ID`, rather than `USD`. | {@a common-http} diff --git a/aio/content/guide/i18n.md b/aio/content/guide/i18n.md index 7c2ca8dfc1..b70d054292 100644 --- a/aio/content/guide/i18n.md +++ b/aio/content/guide/i18n.md @@ -327,7 +327,7 @@ You can also nest different clauses together, such as the `plural` and `select` ## Work with translation files -After preparing a template for translation, use the Angular CLI `extract-i18n` command to extract the marked text in the template into a _source language_ file. +After preparing a template for translation, use the Angular CLI [`extract-i18n`](cli/extract-i18n) command to extract the marked text in the template into a _source language_ file. The marked text includes text marked with `i18n` and attributes marked with `i18n-`*attribute* as described in the previous section. Follow these steps: @@ -349,7 +349,7 @@ To extract the source language file, open a terminal window, change to the root The `extract-i18n` command creates a source language file named `messages.xlf` in your project's root directory using the [XML Localization Interchange File Format (XLIFF, version 1.2)](https://en.wikipedia.org/wiki/XLIFF "Wikipedia page about XLIFF"). -Use the following `extract-i18n` command options to change the source language file location, format, and file name: +Use the following [`extract-i18n` command options](cli/extract-i18n) to change the source language file location, format, and file name: * `--output-path`: Change the location. * `--format`: Change the format. @@ -375,6 +375,8 @@ The `extract-i18n` command can read and write files in three translation formats * XLIFF 1.2 (default) * XLIFF 2 * [XML Message Bundle (XMB)](http://cldr.unicode.org/development/development-process/design-proposals/xmb) +* JSON +* [ARB](https://github.com/google/app-resource-bundle/wiki/ApplicationResourceBundleSpecification) Specify the translation format explicitly with the `--format` command option, as shown in the following examples: @@ -382,6 +384,8 @@ Specify the translation format explicitly with the `--format` command option, as ng extract-i18n --format=xlf ng extract-i18n --format=xlf2 ng extract-i18n --format=xmb +ng extract-i18n --format=json +ng extract-i18n --format=arb