How do I use the translate directive on ng-content?

522 views Asked by At

I'm using @ngx-translate version 11.0.0

I have a custom component that has a <ng-content></ng-content> included in it's content.

When I apply a translate directive on my component, it doesn't target the content. How do I fix this?

<app-my-component translate>translate.this</app-my-component>
0

There are 0 answers