how does localePath()
work with dynamically generated routes?
#1347
Unanswered
katerlouis
asked this question in
Q&A
Replies: 1 comment 9 replies
-
I believe you want https://i18n.nuxtjs.org/lang-switcher#dynamic-route-parameters |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm building a multilang site using storyblok as cms with
prefix_except_default
strategy. Before using storyblok, I usedlocalePath('some-route-name')
(emphasis on route-name here!) – But now that we generate most pages with storyblok, I don't know how to get the localePath for such storyblok page, when I need to reference it hardcoded somehwere. Again: some pages are still completely custom coded, but require links to storyblok pages.Any suggestions on that?
Beta Was this translation helpful? Give feedback.
All reactions