Skip to content

Commit 1abd7b0

Browse files
ocombefilipesilva
authored andcommitted
docs(@angular/cli): fixed typos
1 parent 15cf37e commit 1abd7b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/documentation/stories/internationalization.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ your bootstrap file yourself.
4747
To build your application with a specific locale you can use the exact same commands
4848
that you used for `serve`:
4949
```sh
50-
ng build --aot --locale fr --i18n-format xlf --i18n-file src/i18n/messages.fr.xlf --missing-translation error
50+
ng build --aot --locale fr --i18n-format xlf --i18n-file src/locale/messages.fr.xlf --missing-translation error
5151
```
5252

5353
When you build your application for a specific locale, it is probably a good idea to change
5454
the output path with the command `--output-path` in order to save the files to a different location.
5555

5656
```sh
57-
ng build --aot --output-path dist/fr --locale fr --i18n-format xlf --i18n-file src/i18n/messages.fr.xlf --missing-translation error
57+
ng build --aot --output-path dist/fr --locale fr --i18n-format xlf --i18n-file src/locale/messages.fr.xlf --missing-translation error
5858
```
5959

6060
If you end up serving this specific version from a subdirectory, you can also change
@@ -64,7 +64,7 @@ For example if the french version of your application is served from https://mya
6464
then you would build the french version like this:
6565

6666
```sh
67-
ng build --aot --output-path dist/fr --base-href fr --locale fr --i18n-format xlf --i18n-file src/i18n/messages.fr.xlf --missing-translation error
67+
ng build --aot --output-path dist/fr --base-href fr --locale fr --i18n-format xlf --i18n-file src/locale/messages.fr.xlf --missing-translation error
6868
```
6969

7070
If you need more details about how to create scripts to generate the app in multiple

docs/documentation/xi18n.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</details>
3838

3939
<details>
40-
<summary>outfile</summary>
40+
<summary>out-file</summary>
4141
<p>
4242
<code>--out-file</code> (aliases: <code>-of</code>)
4343
</p>

0 commit comments

Comments
 (0)