Referencia de la locale
Chinese (China) (zh-CN)
Complete reference for the zh-CN locale — live Intl API output, CLDR plural rules, and framework config snippets.
01Metadatos de la locale
中文(中国)
- Código BCP 47
- zh-CN
- Nombre nativo
- 中文(中国)
- Nombre en inglés
- Chinese (China)
- Idioma
- zh
- Región
- CN
- Escritura
- Hans
- Dirección del texto
- De izquierda a derecha (LTR)
- Categorías de plural CLDR
- other
- Hablantes estimados
- ~1,000,000,000
02Intl API Live Output
DateTimeFormat
- Short
- 2026/12/4
- Medium
- 2026年12月4日
- Long
- 2026年12月4日
- Full
- 2026年12月4日星期五
NumberFormat
- Decimal
- 1,234,567.89
- Currency (USD)
- US$9.99
- Percent
- 75%
- Compact
- 123万
RelativeTimeFormat
- -3 day
- 3天前Output for: -3 days ago
ListFormat
- Conjunction
- apples、oranges和bananasConjunction list: apples, oranges, bananas
Lefine
Chinese (China) is supported by Lefine. Add zh-CN to your project in seconds — no manual config required.
CLDR
CLDR Plural Rules
Categories supported by zh-CN: other
- otherExample number: 100→ other
Config
Framework Config Snippets
next.config.ts · i18n/routing.ts
// next-intl configuration// next.config.tsimport createNextIntlPlugin from 'next-intl/plugin';const withNextIntl = createNextIntlPlugin();export default withNextIntl({}); // i18n/routing.tsimport { defineRouting } from 'next-intl/routing';export const routing = defineRouting({ locales: ['zh-CN', 'en'], defaultLocale: 'en',});App.tsx
// react-intl configurationimport { IntlProvider } from 'react-intl';import messages from './messages/zh-CN.json'; function App() { return ( <IntlProvider locale="zh-CN" messages={messages}> {/* your app */} </IntlProvider> );}i18n.ts
// i18next configurationimport i18n from 'i18next';import { initReactI18next } from 'react-i18next'; i18n .use(initReactI18next) .init({ lng: 'zh-CN', fallbackLng: 'en', resources: { 'zh-CN': { translation: require('./locales/zh-CN/translation.json'), }, }, }); export default i18n;zh
Related Locales
Más herramientas
Más herramientas i18n gratuitas
Herramientas gratuitas para el resto de tu flujo de trabajo i18n: datos de locales, mensajes ICU, formatos de archivo y hreflang.
01