Skip to content

Commit

Permalink
docs(localize): fix angular.json syntax (#38553)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
windmichael authored and mhevery committed Aug 24, 2020
1 parent 9e50cef commit 8224e65
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aio/content/guide/i18n.md
Expand Up @@ -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": {
Expand Down

0 comments on commit 8224e65

Please sign in to comment.