mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 11:44:05 +08:00
docs(@angular/cli): fixed link to xi18n commands in i18n story
Close #5660
This commit is contained in:
parent
e9139941ca
commit
d7d4539c29
@ -13,7 +13,7 @@ When your app is ready, you can extract the strings to translate from your templ
|
||||
`ng xi18n` command.
|
||||
|
||||
By default it will create a file named `messages.xlf` in your `src` folder.
|
||||
You can use [parameters from the xi18n command](../xi18n) to change the format,
|
||||
You can use [parameters from the xi18n command](./xi18n) to change the format,
|
||||
the name, the location and the source locale of the extracted file.
|
||||
|
||||
For example to create a file in the `src/locale` folder you would use:
|
||||
@ -69,4 +69,4 @@ ng build --aot --output-path dist/fr --base-href fr --locale fr --i18n-format xl
|
||||
If you need more details about how to create scripts to generate the app in multiple
|
||||
languages and how to setup Apache 2 to serve them from different subdirectories,
|
||||
you can read [this great tutorial](https://medium.com/@feloy/deploying-an-i18n-angular-app-with-angular-cli-fc788f17e358#.1xq4iy6fp)
|
||||
by Philippe Martin.
|
||||
by Philippe Martin.
|
||||
|
Loading…
x
Reference in New Issue
Block a user