Replies: 2 comments 2 replies
-
Just to make it clear, currently we still can use the bare |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use the approach I described here:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We often require to add links into the translated text. It would be a nice addition to be able to use
NuxtLink
ori18nLink
directly into the translation files and use these withv-html
.Let say I have something like this:
Share your
<a href="/referral">translation link</a> with friends
. Currently, unless I missed something, we'd need to splitShare your
,translation link
andwith friends
into 3 different translation strings.Now apart from the fact that it's more tedious, if we're dealing with languages that have different grammatical rules, the order of elements in the sentence won't stay the same, so it becomes really complex (not to mention RTL languages).
Beta Was this translation helpful? Give feedback.
All reactions