diff --git a/aio/content/guide/i18n.md b/aio/content/guide/i18n.md index a55bc32a6b..42d9b6ed8e 100644 --- a/aio/content/guide/i18n.md +++ b/aio/content/guide/i18n.md @@ -707,22 +707,24 @@ the CLI configuration file, `angular.json`. "i18nLocale": "fr", "i18nMissingTranslation": "error", } -// ... -"serve": { - "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "browserTarget": "my-project:build" + } }, - "configurations": { - "production": { - "browserTarget": "my-project:build:production" + ... + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "browserTarget": "my-project:build" }, - "fr": { - "browserTarget": "my-project:build:fr" + "configurations": { + "production": { + "browserTarget": "my-project:build:production" + }, + "fr": { + "browserTarget": "my-project:build:fr" + } } } -}, - +} ``` The same configuration options can also be provided through the CLI with your existing `production` configuration.