docs: fix typo in "deploy multiple locales" section (#42541)
Fixes #42540 PR Close #42541
This commit is contained in:
parent
ec90d8d5e5
commit
cddb3a88d3
|
@ -748,7 +748,7 @@ Specify the warning level in the `options` section for the `build` target of you
|
|||
|
||||
## Deploy multiple locales
|
||||
|
||||
If `myapp` is the directory containing your app's distributable files, you would typically make available different versions for different locales in locale directories such as `myapp/fr` for the French version and `myapp.com/es` for the Spanish version.
|
||||
If `myapp` is the directory containing your app's distributable files, you would typically make available different versions for different locales in locale directories such as `myapp/fr` for the French version and `myapp/es` for the Spanish version.
|
||||
|
||||
The HTML `base` tag with the `href` attribute specifies the base URI, or URL, for relative links. If you set the `"localize"` option in `angular.json` to `true` or to an array of locale IDs, the CLI adjusts the base `href` for each version of the app by adding the locale to the configured `"baseHref"`. You can specify the `"baseHref"` for each locale in your workspace configuration file (`angular.json`), as shown in the following example, which sets `"baseHref"` to an empty string:
|
||||
|
||||
|
|
Loading…
Reference in New Issue