-
I am a little bit confused how to use dynamic variables. Consider this: <PageTitle title={`Your name: ${name}`} /> As I understand, I can't use <PageTitle title={lingui._(t`Your name: ${name}`)} /> But that gives me this:
I know I'm doing something wrong, I just can't figure out what? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Remove lingui and use just the t macro <PageTitle title={t`Your name: ${name}`} /> |
Beta Was this translation helpful? Give feedback.
-
On a side note, it is a little bit confusing to wrap around the logic of the library (that's the case with all translation libraries), do you have code sandbox setup or something like that, where I could see the code that gets created by the macro? |
Beta Was this translation helpful? Give feedback.
Remove lingui and use just the t macro