Replies: 2 comments
-
You can create a component to encapsulate next/link:
Then you can use with Trans (and on other places):
Remember to change the string:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@mxmtsk The Instead of: <Link
href="/de/page/datenschutz"
key="link"
passHref
/>
<a
className="font-normal text-underline"
key="hyperlink"
/> Try <Link
href="/de/page/datenschutz"
key="link"
passHref >
<a
className="font-normal text-underline"
key="hyperlink"
/>
</Link> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to translate a string, that has a page to an internal page so I tried this:
but this throws the following error:
The string to translate is this:
Is this not the correct way of doing it?
Beta Was this translation helpful? Give feedback.
All reactions