/simple-i18n-example

Simple example of a multilingual site in Next.js using dynamic routing.

Primary LanguageTypeScript

simple-i18n-example

This is a simple example of a multilingual site implemented in Next.js using dynamic routing.

Features

  • language subpaths
  • client and server rendered
  • seo friendly
  • automatic language detection
  • ability to save user language preference
  • translations
  • written in TypeScript
  • uses only basic Next.js and React APIs (no custom server required, etc.)

Demo

Working site can be viewed here.

Blog post

This is a companion repo to a blog post which can be found here.