Skip to content
Advertisement

Tag: ngx-translate

Angular 12 ngx-translate / loader isn’t working

https://www.npmjs.com/package/@ngx-translate/core https://www.npmjs.com/package/@ngx-translate/http-loader I installed translate package from here and added ngx-translate module with its forRoot , translate service inside component ts (app & header) but it isn’t working also Header component Header.component.ts app.module.ts I also tried same steps in app.component.ts Answer The pipe syntax is {{ ‘my-translation-key’ | translate }} – you have double || in your template, please change

Advertisement