Translation in the Template
Structural Directive
<ng-container *transloco="let t">
<p>{{ t('title') }}</p>
<comp [title]="t('title')"></comp>
</ng-container><ng-container *transloco="let t">
<p>{{ t('name', { name: 'Transloco' }) }}</p>
</ng-container>{
"name": "My name is {{name}}"
}<ng-container *transloco="let t; lang: 'es'">
<p>{{ t('title') }}</p>
</ng-container>Pipe
Attribute Directive
Last updated
Was this helpful?

