Core: The pipe 'translate' could not be found

Created on 5 Dec 2017  路  1Comment  路  Source: ngx-translate/core

The pipe 'translate' could not be found ("offerClicked(true)">

{{[ERROR ->] 'HOME.SALESPITCHBAR.BUTTON_BUY_TEXT' | translate }}

"): ng:///SharedModule/TopbarComponent.html@32:38

[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[x ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Current behavior

For some reason the translate is not working in my new component. I have followed the guide on the start page in git hub and the module was working on my main app.component. Why does it not work on the this new component I have?

  • Angular version: 5.0

Most helpful comment

If anyone has this error:
You need to add TranslateModule to each module where you use translation

>All comments

If anyone has this error:
You need to add TranslateModule to each module where you use translation

Was this page helpful?
0 / 5 - 0 ratings

Related issues

crebuh picture crebuh  路  3Comments

jellene4eva picture jellene4eva  路  3Comments

IterationCorp picture IterationCorp  路  3Comments

briancullinan picture briancullinan  路  3Comments

rbaumi picture rbaumi  路  4Comments