Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation when using <ng-content> #255

Open
alucardu opened this issue Jan 31, 2022 · 0 comments
Open

Translation when using <ng-content> #255

alucardu opened this issue Jan 31, 2022 · 0 comments

Comments

@alucardu
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant