Menu

Internationalization

Nexty.dev provides an out-of-the-box internationalization solution based on the industry-mature next-intl library. Whether it's a small project or a large application, you can easily implement multilingual support to help your website reach global users.

Current Internationalization Features

Supported Languages

  • English (en) - Default language
  • Chinese (zh) - Simplified Chinese
  • Japanese (ja) - Japanese

Core Features

  1. Automatic Language Detection - Automatically detects user browser language and prompts for switching
  2. Dynamic Routing - Supports multilingual routes like /about, /zh/about, /ja/about
  3. Language Switching - Provides elegant language switching components
  4. SEO Friendly - Each language version has independent URLs and metadata

Version Upgrade Notes

Starting from version v1.1.7, Nexty.dev has redesigned the organizational structure of internationalization files.

Before v1.1.7, each language only had one JSON file, which led to low maintenance efficiency as content grew.

Starting from v1.1.7, it supports splitting files by functionality to improve maintenance efficiency.

Upgrade Impact Scope:

  • Only involves directory structure adjustments in i18n/messages and the method of retrieving internationalization files in i18n/request.ts
  • Core functionality and APIs remain fully compatible
  • No need to modify business code

If you are using a version prior to v1.1.7, it is recommended to upgrade to the new organizational structure according to the upgrade guide.

Subsequent internationalization module documentation will be based on version v1.1.7+.