Closed grudus closed 4 years ago
I am also having this issue. I am unable to use the translate directive or pipe at all. In fact it tell me there is no such pipe as the translate pipe. I am also on Angular 9.0.0-rc.7
Same issue here when upgrading from angular 8 to angular 9.
Should be fixed with 12.1.0, can you check please?
it works with 12.1.1 :+1:
Awesome 😀
I have 12.1.2 of ngx-translate and Angular 9 version, and directive translate not working for me when I dynamically change the key...
<!-- Not working scenario -->
<span translate>
{{getTranslateKeyThatChangedByCondition()}}
</span>
<!-- Working scenario -->
<span>
{{getTranslateKeyThatChangedByCondition() | translate}}
</span>
getTranslateKeyThatChangedByCondition(): string {
return (condition) ? 'KeyA' : 'KeyB';
}
It was working in Angular 8 and ngx-translate 11.0.1
Hi! I'm trying to add translations to the new Angular9 app, but I've got strange behaviour with
translate
directive. While all of these work fine:I cannot get translation for
There is no error in the console, as if the translation doesn't work and the raw key is shown.
I'm using
@ngx-translate/core: ^11.0.1
, andAngular 9.0.0-rc.7
Here is some configuration info: