i18next/i18next-http-middleware

Next.js example

chr1s1k opened this issue · 3 comments

Hi there,

is there any example of usage with the Next.js framework?

adrai commented

not anymore... next.js introduced the whole i18n routing functionality itself...
you may have a look at next-i18next

I see but as far as I know, there's no possibility to add a custom language detection on the server side that's why I ended up here.

adrai commented

You can... (just pass your own language detector plugin via use array option), but I don't know if it makes sense for Next.js.