Releases: rbalet/ngx-translate-multi-http-loader
Releases · rbalet/ngx-translate-multi-http-loader
v9.3.1
v9.3.0
Feature
- Optional: boolean
export function HttpLoaderFactory(_httpBackend: HttpBackend) {
return new MultiTranslateHttpLoader(_httpBackend, [
{prefix: './assets/i18n/core/', suffix: '.json'},
{prefix: './assets/i18n/vendors/'}, // , "suffix: '.json'" being the default value
{prefix: './assets/i18n/non-existent/', optional: true}, // Wont create any log <-----
]);
}
Enhance
- Grouped console.log
fix - dependencies : rxjs
Fix
- use
rxjs ^7.5.7
instead ofrxjs 7.5.7
v9.1.3
v9.1.2
Core
- use of deepmerge-ts instead of deepmerge, fix the following #17
Enhance
- Update the demo in the
README.md
file
v9.0.1
Feature
- Add back Custom suffix logic
- Let suffix being optional
- Let the suffix
.json
being the default one - Open the
ITranslationResource
interface to imported in project ! This name may changed in the future
v9.0.0
Breaking Changes
Core
- Use of
httpBackend
instead of thehttpClient
. - using an array of
string[]
instead of the former{prefix: string, suffix: string}
object -> For more information