Translate service extend and isolate flags are getting rested because of it translation not working on some routes v18
rishu007 opened this issue · 1 comments
rishu007 commented
Current behavior
translate service dependencies are getting rested on standalone routes
Expected behavior
TranslateModule.forRoot({
loader: {
provide: TranslateLoader,
useFactory: httpLoaderFactory,
deps: [HttpClient],
},
isolate: false
}))
After providing this configuration still in standalone components its not working
How do you think that we should fix this?
translate service should be consistent regardless of type of component
Minimal reproduction of the problem with instructions
Environment
ngx-translate version: 15.0.0
Angular version:18.0.5
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
CodeAndWeb commented
Can you please provide a minimal project to reproduce this?