design-angular-kit 21.0.2 → 21.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7082,7 +7082,7 @@ function provideDesignAngularKit(config) {
|
|
|
7082
7082
|
// Design Angular Kit >= 21
|
|
7083
7083
|
// ngx-translate >= 17
|
|
7084
7084
|
provideTranslateService({
|
|
7085
|
-
loader: provideTranslateHttpLoader({ prefix: langPrefix, suffix: langSuffix }),
|
|
7085
|
+
loader: config?.translateLoader?.(langPrefix, langSuffix) ?? provideTranslateHttpLoader({ prefix: langPrefix, suffix: langSuffix }),
|
|
7086
7086
|
fallbackLang: 'it',
|
|
7087
7087
|
}));
|
|
7088
7088
|
// Add provider to initialize library default languages
|