Is your feature request related to a problem? Please describe.
There seems to be no way to interpolate strings with dynamic variables at the moment using the Trans component, if you want to interpolate with html tags like <em></em> at the same time.
Describe the solution you'd like
It seems like the react-i18nnext lib allows you to pass in values to be interpolated in as props on the Trans component.
e.g.
<Trans i18nKey="userMessagesUnread" count={count}>
Hello <strong title={t('nameTitle')}>{{name}}</strong>, you have {{count}} unread message. <Link to="/msgs">Go to messages</Link>.
</Trans>
Describe alternatives you've considered
Attempted to use a combination of Trans and t but cannot get the correct result.
Is your feature request related to a problem? Please describe.
There seems to be no way to interpolate strings with dynamic variables at the moment using the Trans component, if you want to interpolate with html tags like
<em></em>
at the same time.Describe the solution you'd like
It seems like the react-i18nnext lib allows you to pass in values to be interpolated in as props on the Trans component.
e.g.
Describe alternatives you've considered
Attempted to use a combination of Trans and t but cannot get the correct result.
Additional context
None.