You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/"
69
69
- suffix: string = ".json"
70
70
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`.
72
72
73
73
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:
0 commit comments