npm @ngx-translate/http-loader 5.0.0
v5.0.0

latest releases: 8.0.0, 7.0.0, 6.0.0...
3 years ago

<a name"5.0.0">

5.0.0 (2016-12-20)

Bug Fixes

  • TranslateService:
    • make TranslateParser public (df7fe29c, closes #347)
    • emit all translations on merge instead of just added ones (807cb15d, closes #367)
    • the onTranslationChange event is now triggered for all setTranslation calls (not just merges) (20881950)
  • Translate Directive:
    • the directive listens to onTranslationChange events now (20881950)

Features

  • Added default fallback language to English (15a75c24)
  • TranslationService: getting translations for default lang when it's set (20881950, closes #332, #336)

Breaking Changes

  • we will now fetch the translations for the default lang when it is set (if they are not already available). Also the default lang is now automatically set to the first lang that receives translations (if it is still undefined at that time). Setting the default lang will override this default behavior, so this will probably not break anything for you, but if you set the translations for the default lang first then you don't even have to call setDefaultLang anymore. (20881950)

Don't miss a new http-loader release

NewReleases is sending notifications on new releases.