ngx-translate-extract
ngx-translate-extract copied to clipboard
Translation when using <ng-content>
I'm using content projection to pass some text to a component and I want that translated:
<app-card-title translate>General</app-card-title>
// app-card-title
<h4 class="cardTitle" translate>
<ng-content></ng-content>
</h4>
When I run the translation extraction this shows up:
msgid "<ng-content></ng-content>"
msgstr ""
Which makes sense but is not wanted. Any chance to perhaps filter out certain strings when extracting translations?