Skip to content

i18next/next-app-dir-i18next-example-ts

Repository files navigation

Next.js 13/14 app directory feature in combination with i18next

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.

There's also a blog post describing this with more detail information.

About

Next.js 13/14 app directory feature in combination with i18next

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published