[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
猬嗭笍 Starting v2 upgrade script 猬嗭笍
Done! Welcome to Transloco v2 馃槑
Nothing to be done.
Said nothing to be done but it definitely did something:


And the views appear to be broken
Schematics shouldn't break the views
Try to upgrade with the schematics?
Here's a component I've got that was broken after the upgrade:
<ng-container *transloco="let t">
<app-hero
[title]="'Albi Eco Race'"
[subTitle]="t.editionNumber"
[buttonText]="t.static.registration"
buttonUrl="/register"
[text]="t.dateAndWhere"
></app-hero>
<app-promo [isSmallText]="true"></app-promo>
<app-block [title]="'What people say'" theme="primary"><app-what-people-say></app-what-people-say></app-block>
<app-block class="register-block">
<button mat-raised-button color="accent" routerLink="register">{{ t.static.iWishToParticipate }}</button>
</app-block>
</ng-container>
Angular version: 8.2.0
For Tooling issues:
- Node version: 12.4
- Platform: Linux
Others:
@maxime1992 Thanks for the report!
@shaharkazaz it did work but noticed some of them were not taken into account for some reason :man_shrugging: (with nothing special for them) and the ones that were using the syntax:
{{ t.static.availableDocuments | translocoParams: { nbDocuments: category.documents.length } }}
were not done either. Not really a huge issue I did it but I thought you may want to know :)
Thanks for your help, if you're happy with the above feel free to close the issue.
@maxime1992 thanks again for the feedback!
I'm happy to hear that the issue is mostly resolved, it would be great if you could share all the places the script missed with the templates.
@maxime1992 The main issue was resolved, so I'm closing this.
let's take this to gitter or continue here if you prefer to handle the script's misses 馃檪