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:
parent
4985267211
commit
6e643d9874
|
@ -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": {
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue