From 6e643d9874ac1daebec42282bb94e9c773a09786 Mon Sep 17 00:00:00 2001 From: windmichael <58007750+windmichael@users.noreply.github.com> Date: Sat, 22 Aug 2020 17:06:31 +0200 Subject: [PATCH] docs(localize): fix angular.json syntax (#38553) In chapter internationalization (i18n) at section "Deploy multiple locales" the syntax for angular.json is wrong. This commit fixes the angular.json, when specifying the translation file and the baseHref for a locale. PR Close #38553 --- aio/content/guide/i18n.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/i18n.md b/aio/content/guide/i18n.md index ba0d175262..72de42ffe0 100644 --- a/aio/content/guide/i18n.md +++ b/aio/content/guide/i18n.md @@ -766,8 +766,10 @@ The HTML `base` tag with the `href` attribute specifies the base URI, or URL, fo "i18n": { "sourceLocale": "en-US", "locales": { - "fr": "src/locale/messages.fr.xlf" - "baseHref": "" + "fr": { + "translation": "src/locale/messages.fr.xlf", + "baseHref": "" + } } }, "architect": {