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
This commit is contained in:
windmichael 2020-08-22 17:06:31 +02:00 committed by Misko Hevery
parent 4985267211
commit 6e643d9874
1 changed files with 4 additions and 2 deletions

View File

@ -766,9 +766,11 @@ The HTML `base` tag with the `href` attribute specifies the base URI, or URL, fo
"i18n": { "i18n": {
"sourceLocale": "en-US", "sourceLocale": "en-US",
"locales": { "locales": {
"fr": "src/locale/messages.fr.xlf" "fr": {
"translation": "src/locale/messages.fr.xlf",
"baseHref": "" "baseHref": ""
} }
}
}, },
"architect": { "architect": {
... ...