Documentation and Guides
Features
- core: Support for Standalone components in Angular:
TranslatePipe
,TranslateDirective
, are now stand alone- Introduced
provideTranslateService()
to initialise ngx-translate
- core: Parameters and return values now have explicit types instead of
any
. Due to TypeScript
limitations,any
is still partially required in recursive type definitions. - core: Introduced
_(id)
to tag translations for automated extraction from source code. - core/http-loader: Resolved ESLint warnings, improved overall code quality.
- core/http-loader: Enhanced documentation available at ngx-translate.org.
- core/http-loader: Set MIT License for npm modules.
- core/http-loader: Implemented GitHub Actions for continuous integration.
Fixes
- core: The
use()
function now reliably sets the last requested language. - core: Improved the
get()
,stream()
, getStreamOnTranslationChange methods to recursively process and interpolate results.
Deprecations
- core:
getTranslation()
is now deprecated