i18next / next-app-dir-i18next-example

Next.js 13/14 app directory feature in combination with i18next
https://locize.com/blog/next-app-dir-i18n/
175 stars 38 forks source link

question #32

Closed blockmood closed 1 year ago

blockmood commented 1 year ago

I don't want to redirect to/en by default. Is there a way to not redirect when using the default en language? Just use the/mode, such as www.ex.com. Redirect other languages at www.ex.comfr/xxx

blockmood commented 1 year ago

@adrai

adrai commented 1 year ago

adapt the middleware.js to your needs

adrai commented 1 year ago

https://github.com/i18next/next-13-app-dir-i18next-example/issues/12

blockmood commented 1 year ago

tks

blockmood commented 12 months ago

@adrai When I tried to create a notfound page, it did not take effect. After I created it under pages/404.tsx, it still did not take effect. Is there any way to solve this problem?

blockmood commented 12 months ago

1699494694930

adrai commented 12 months ago

https://github.com/i18next/next-app-dir-i18next-example-ts/issues/5