Skip to content

Releases: ngx-translate/core

v1.2.1

12 Dec 17:12
Compare
Choose a tag to compare

<a name"1.2.1">

1.2.1 (2015-12-12)

Bug Fixes

  • package: support for angular alpha 52 & rxjs alpha 13 (d81a8441)

v1.2.0

09 Dec 00:13
Compare
Choose a tag to compare

<a name"1.2.0">

1.2.0 (2015-12-09)

Features

  • service: bump to angular alpha 48 (8bb3f9b9)

v1.1.7

02 Dec 21:22
Compare
Choose a tag to compare

<a name"1.1.7">

1.1.7 (2015-12-02)

Bug Fixes

v0.1.3

25 Oct 19:14
Compare
Choose a tag to compare

Bug Fixes:

  • using interval instead of timeout to fake Observable share

v0.1.2

25 Oct 15:03
Compare
Choose a tag to compare

Bug Fixes:

  • changing back to an existing lang should not return the previous lang

v0.1.1

25 Oct 10:27
Compare
Choose a tag to compare

Bug fixes:

  • removed trailing slash on default prefix for static loader
  • don't trigger multiple ajax call for translations when it's pending: I had to use a fake share implementation on get translation observable until Angular updates RxJS to 5.0.0-alpha.6

v0.1.0

24 Oct 17:10
Compare
Choose a tag to compare

Features:

  • Added a new Parser class (used internally, but I figured that someone might want to use it)
  • Added the ability to use interpolated strings
  • Parameters given to TranslatePipe will now be used for interpolated strings
  • Added a property currentLang to TranslateService
  • Added a new optional parameter interpolateParams to the method get from TranslateService
  • Better & faster code now that I understand Observables better :-)
  • Lots of documentation added to the readme & to the code
  • Added sourcemaps for the files

Bug Fixes:

  • onLangChange is now correctly triggered when calling the method use instead of when calling the method getTranslation

Breaking changes:

  • Renamed setDefault to setDefaultLang
  • Renamed onLanguageChange to onLangChange and moved it from the loaders to TranslateService
  • Moved useStaticFilesLoader from the static loader to TranslateService
  • Removed the unused property method from TranslateService