File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,14 @@ your bootstrap file yourself.
4747To build your application with a specific locale you can use the exact same commands
4848that 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
5353When you build your application for a specific locale, it is probably a good idea to change
5454the 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
6060If 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
6464then 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
7070If you need more details about how to create scripts to generate the app in multiple
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments