This example shows a basic way to use i18next (and react-i18next) in a Next.js 13 app with the new app directory features. next-i18next is not needed anymore for this setup.
It shows i18next integration on some server side pages and some client side pages.
There is also an example middleware with language detection and persistence via cookie.
This example has been created out of this discussion.