I don't have a lot of experience with i18n and I'm stuck with this. I have component within another component. All I want to do is to pass i18n as one of the parameters. How do I do that?
Here is what I have:
Component A (Parent)
<card content="My text that needs to be transliterated" buttonLabel="Send"></card>
Component B (Card - Child)
@Input('content') content: string;
@Input('buttonLabel') buttonLabel: string;
Normally, I would just <p i18n="meaning|description@@id">content to be translated</p>
How can I do that on this case?
Thanks
content to be translated
? Never seen this before – Rafael de Castro May 14 '21 at 19:12