DEV Community

Milan
Milan

Posted on

Next js country-code/lang-code prefix

Hello everybody, my client ask me to have country-code/lang-code prefix in my routes. We should save in local storage users country-code and lang code preference and then every time he comes to site, we should redirect him to selected country-code/lang-code prefix (en/en-US) Also he can choose country/ language at any time so i should be able to redirect him to new country-code/lang-code at any time. So is this even possible in nextjs ?

Top comments (0)