Home

Issue: 1879

_lang param for all pages

[issue link]

I have used the nuxt example of i18n internationalization. My webapp operates for 3 languages (en, kk, ru). I have the language switch in the header section of my application, meaning that a user can change the locale at any page. User can also change the locale by manually calling a url with locale parameter in the url.

Now suppose a user goes from index page to study (’/study’) page and the selected locale was kk. Going to study is done from a nuxt-link. host/kk changes to host/study.
Locale is somehow omitted from the url.

How should I handle this? Can I change the base url of nuxt from / to kk/, so that all pages are prefixed with kk/.

This question is available on Nuxt.js community (#c1686)