Update dependency @ngx-translate/core to v18 - #367
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/ngx-translate-core-18.x
branch
3 times, most recently
from
June 16, 2026 00:36
1ae2436 to
212f999
Compare
renovate
Bot
force-pushed
the
renovate/ngx-translate-core-18.x
branch
2 times, most recently
from
June 24, 2026 09:39
fd39fe2 to
fbce65a
Compare
renovate
Bot
force-pushed
the
renovate/ngx-translate-core-18.x
branch
3 times, most recently
from
July 9, 2026 01:14
7a621dc to
7a41c12
Compare
renovate
Bot
force-pushed
the
renovate/ngx-translate-core-18.x
branch
from
July 9, 2026 22:42
7a41c12 to
6982001
Compare
renovate
Bot
force-pushed
the
renovate/ngx-translate-core-18.x
branch
4 times, most recently
from
August 5, 2026 13:09
337e7b8 to
22b707d
Compare
renovate
Bot
force-pushed
the
renovate/ngx-translate-core-18.x
branch
4 times, most recently
from
August 22, 2026 17:44
b23a279 to
843b70a
Compare
renovate
Bot
force-pushed
the
renovate/ngx-translate-core-18.x
branch
2 times, most recently
from
August 27, 2026 03:29
480dd17 to
29bd443
Compare
renovate
Bot
force-pushed
the
renovate/ngx-translate-core-18.x
branch
2 times, most recently
from
September 10, 2026 01:39
25c032e to
0ae9b3a
Compare
renovate
Bot
force-pushed
the
renovate/ngx-translate-core-18.x
branch
from
September 11, 2026 00:14
0ae9b3a to
c5c4054
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
17.0.0→18.0.0Release Notes
ngx-translate/core (@ngx-translate/core)
v18.0.0Compare Source
@ngx-translate/core@18.0.0and@ngx-translate/http-loader@18.0.0are now stable on npm (latest).v18 is the major API-cleanup release: standalone providers everywhere, signal-based internals, the
default→fallbackrename finalized, and the deprecated surface removed. It also resolves three long-standing semantic gotchas and baselines the workspace on Angular 22 / TypeScript 6.0.Highlights
TranslateModuleis gone — useprovideTranslateService()/provideChildTranslateService()(works in standalone and NgModule apps).*translateBlock="let t"structural directive for cleaner template translations.isLoading: Signal<boolean>— true while anyuse()load is in flight; read it for language-switching spinners.Breaking changes — required edits
TranslateModuleremoved. ReplaceTranslateModule.forRoot({...})/forChild({...})withprovideTranslateService({...})/provideChildTranslateService({...}). The pipe, directive, and service are standalone.Deprecated
default*symbols removed — rename:defaultLangfallbackLangsetDefaultLang()setFallbackLang()getDefaultLang()getFallbackLang()onDefaultLangChangeonFallbackLangChangeDefaultLangChangeEventFallbackLangChangeEventlangsgetLangs()setValue()(util)insertValue()Also removed:
useDefaultLanganddefaultLanguageconfig fields (along withTranslateModule).Deprecated (still works, warns once): using element text content as a key (
<span translate>Hello</span>). Use[translate]="'KEY'", thetranslatepipe, or*translateBlock. It will be removed next major.Potentially breaking — low impact (behavior changes)
use()no longer mutates state. On loader failure,currentLang()/lastUseLanguagestay at the prior value instead of switching to the failed language. UseisLoading()or the returned Observable's error channel to drive switching UI.translationChange$events, nor borrow keys from outer scopes. Isolation now means own events + own lookups + own language state. If you wanted shared translations with subtree-scoped state, useprovideChildTranslateService({ extend: true }).instant()"unloaded language" warning is deduplicated per isolated subtree (was once per service instance).ITranslateServicegainsisLoading: Signal<boolean>. If you mock it viaimplements/extends ITranslateService, addisLoading = signal(false).asReadonly(). See the "Mocking TranslateService" recipe in the README.Migration
Full step-by-step guide: https://ngx-translate.org → Getting Started → Migration Guide.
Angular compatibility: 18, 19, 20, 21, 22 · TypeScript: 6.0 · RxJS: ≥7
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.