Releases: ngx-translate/core
Releases · ngx-translate/core
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.7
v0.1.3
v0.1.2
v0.1.1
v0.1.0
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 methodget
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 methoduse
instead of when calling the methodgetTranslation
Breaking changes:
- Renamed
setDefault
tosetDefaultLang
- Renamed
onLanguageChange
toonLangChange
and moved it from the loaders to TranslateService - Moved
useStaticFilesLoader
from the static loader to TranslateService - Removed the unused property
method
from TranslateService