feat: add support for Chinese language (zh-CN) (#365)

This commit is contained in:
dream10201
2025-12-10 19:07:18 +08:00
committed by GitHub
parent 809e19e2e4
commit 1f45867eb5
5 changed files with 412 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ import { createNavigation } from 'next-intl/navigation';
import { defineRouting } from 'next-intl/routing';
export const routing = defineRouting({
locales: ['en', 'ja', 'pt-BR'],
locales: ['en', 'ja', 'pt-BR', 'zh-CN'],
defaultLocale: 'en',
localePrefix: {
mode: 'always',