i18n Language Switcher Home page routing problem in Next.js app route
Unanswered
fardeen awais posted this in #help-forum
Hi there i make an simple language switcher app https://translator-switching.vercel.app/en But there is /en or /anylanguage routes in which i can see my application. https://translator-switching.vercel.app This link shows is not shown up. Is there is any way to deploy the sub-route or any recommendation how can i solve this problem.
I simply want my route works like Ant Design website: https://ant.design/ while switching out my language.
I simply want my route works like Ant Design website: https://ant.design/ while switching out my language.
1 Reply
Even though I don’t know what is your routing structure, I recommend creating a middleware and redirect the users if locale doesn’t presence in the pathname (like a slash only)