We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2049d1 commit 1256d11Copy full SHA for 1256d11
src/app/core/i18n/i18n.service.ts
@@ -46,7 +46,10 @@ export class I18nService {
46
}
47
48
async loadTranslations() {
49
- const languageTranslationsModule = await import(`src/assets/i18n/${this.language}.json`);
+ const languageTranslationsModule = await import(
50
+ /* webpackInclude: /(en|de|fr)\.json$/ */
51
+ `src/assets/i18n/${this.language}.json`
52
+ );
53
54
this.translations = this.flattenTranslations(languageTranslationsModule.default);
55
loadTranslations(this.translations);
0 commit comments