You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angular 12 with @ngx-translate. After running ng g @ngneat/transloco:migrate I selected NgxTranslate and provided path to the app. All files process, however, TranslateService only changed in the constructor, no method ovverrides and in the .spec.ts files no import updates.
Complex pipe use:
Expected behavior
.spec.ts imports are updated as well
service methods ovveriden just like it stated in the documentation
deps updated as well
complex pipe use
Transloco config
After migration, there's no any loaders or something.
@vladkasianenko I appreciate the detailed issue.
The migration command is limited in what it can do and should reduce the time you spend in the migration but as noted in the docs you might need manual changes as well (which as I understand were quite a few in your case).
From what I'm seeing you have a bit more complex use-cases in both the template (nested pipes) and the component (using the translation service indirectly via a provider).
Since you have the repo and the experience with these issues I encourage you to improve the migration command and open a PR for it 😄
Uh oh!
There was an error while loading. Please reload this page.
Current behavior
Angular 12 with @ngx-translate. After running



ng g @ngneat/transloco:migrate
I selected NgxTranslate and provided path to the app. All files process, however,TranslateService
only changed in the constructor, no method ovverrides and in the.spec.ts
files noimport
updates.Complex pipe use:

Expected behavior
.spec.ts
imports are updated as wellTransloco config
After migration, there's no any loaders or something.

Environment
For Tooling issues:
As a part of resolution I needed to replace all
.instant
,.get
and so on manually, then addedTranslocoRootModule
.The text was updated successfully, but these errors were encountered: