For nuxt3 i18n is there any way to :to for nested and translated route? for example istead of
<NuxtLink :to="`${localePath('ser')}/${$t('est')}/${$t('pro')}`">
something like this
<NuxtLink :to="`${localePath('ser/est/pro')}`">
and in the page setup
<script setup>
const route = useRoute()
console.log("route.params-----------", route)
defineI18nRoute({
paths: {
en: "/ser/est/pro",
nl: "/die/scha/ggg",
fr: "/ser/dev/pp",
fa: "rr/خ/تخ"
}
})
</script>
?
You mean something like this?
With a configuration like this:
Is this what you meant?