Skip to content

Releases: rbalet/ngx-translate-multi-http-loader

v9.3.1

07 Feb 12:03
Compare
Choose a tag to compare

Core

  • Update dependencies
  • Drop support for Angular 12

v9.3.0

05 Jan 08:07
Compare
Choose a tag to compare

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

10 Dec 09:32
Compare
Choose a tag to compare

Fix

  • use rxjs ^7.5.7 instead of rxjs 7.5.7

v9.1.3

01 Nov 21:06
Compare
Choose a tag to compare

Optimize

  • Use spread operator instead of reduce method

v9.1.2

28 Oct 17:11
Compare
Choose a tag to compare

Core

Enhance

v9.0.1

28 Oct 15:15
Compare
Choose a tag to compare

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

22 Oct 11:39
Compare
Choose a tag to compare

Breaking Changes

Core

  • Use of httpBackend instead of the httpClient.
  • using an array of string[] instead of the former {prefix: string, suffix: string} object -> For more information

Bug Fixes

v7.0.0

13 Dec 18:10
Compare
Choose a tag to compare
angular 13

v3.0.0

29 Jan 11:54
Compare
Choose a tag to compare

3.0.0 (2019-01-29)

Bug Fixes

  • Core: Ignore missing translation files, but show error in console. (bc78df8), closes #3

BREAKING CHANGES

  • Core: Ignore missing translation files, but show error in console.

v2.1.2

08 Oct 11:23
Compare
Choose a tag to compare

2.1.2 (2018-10-08)

Bug Fixes

  • Dependencies: Fix deepmerge dependency. (0ef8984)