Skip to content

Commit 2f08a80

Browse files
committed
fix: Fix ReadMe.
1 parent 5ce73c5 commit 2f08a80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A loader for [ngx-translate](https://github.com/ngx-translate/core) that loads t
44

55
Simple example using ngx-translate: https://stackblitz.com/edit/ngx-translate-multi-http-loader-sample
66

7-
Get the complete changelog here: https://github.com/ngx-translate/multi-http-loader/releases
7+
Get the complete changelog here: https://github.com/denniske/ngx-translate-multi-http-loader/releases
88

99
* [Installation](#installation)
1010
* [Usage](#usage)
@@ -21,7 +21,7 @@ npm install ngx-translate-multi-http-loader --save
2121

2222
Choose the version corresponding to your Angular version:
2323

24-
Angular | @ngx-translate/core | @ngx-translate/multi-http-loader
24+
Angular | @ngx-translate/core | ngx-translate-multi-http-loader
2525
----------- | ------------------- | --------------------------
2626
6 | 10.x+ | 1.x+
2727

@@ -65,10 +65,10 @@ export class AppModule { }
6565
```
6666

6767
The `MultiTranslateHttpLoader` takes a list of translation file configurations. Each configuration has two optional parameters:
68-
- prefix: string = "/assets/i18n/"
68+
- prefix: string = "/assets/translate/"
6969
- suffix: string = ".json"
7070

71-
By using those default parameters, it will load your translations files for the lang "en" from: `/assets/i18n/en.json`.
71+
By using those default parameters, it will load your translations files for the lang "en" from: `/assets/translate/en.json`.
7272

7373
You can change those in the `HttpLoaderFactory` method that we just defined. For example if you want to load the "en" translations from `/assets/translate/core/en.json` and `/assets/translate/shared/en.json` you would use:
7474

0 commit comments

Comments
 (0)