• Stars
    star
    161
  • Rank 233,470 (Top 5 %)
  • Language
    TypeScript
  • Created about 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.