File tree 2 files changed +4
-4
lines changed
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.
47
47
To build your application with a specific locale you can use the exact same commands
48
48
that you used for ` serve ` :
49
49
``` 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
51
51
```
52
52
53
53
When you build your application for a specific locale, it is probably a good idea to change
54
54
the output path with the command ` --output-path ` in order to save the files to a different location.
55
55
56
56
``` 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
58
58
```
59
59
60
60
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
64
64
then you would build the french version like this:
65
65
66
66
``` 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
68
68
```
69
69
70
70
If 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 37
37
</details >
38
38
39
39
<details >
40
- <summary >outfile </summary >
40
+ <summary >out-file </summary >
41
41
<p >
42
42
<code>--out-file</code> (aliases: <code>-of</code>)
43
43
</p >
You can’t perform that action at this time.
0 commit comments