adbrosaci / vue-lang-router

Vue language routing with (optional) localized URLs.
MIT License
66 stars 8 forks source link

Localized URLs with variable #25

Open joserramintral opened 2 years ago

joserramintral commented 2 years ago

I am having problems making the localized URL work when I am passing a variable in said URL. For example: path: "/product/:productId". How should that be included in the translations/lang.json document for it to translate the "product" part of the URL but keeping the :productId variable?

Thanks!