Locale-referentie
Chinese (Singapore) (zh-SG)
Complete reference for the zh-SG locale — live Intl API output, CLDR plural rules, and framework config snippets.
01Locale-gegevens
中文(新加坡)
- BCP 47-code
- zh-SG
- Eigen naam
- 中文(新加坡)
- Engelse naam
- Chinese (Singapore)
- Taal
- zh
- Regio
- SG
- Schrift
- Hans
- Tekstrichting
- Links naar rechts (LTR)
- CLDR-meervoudscategorieën
- other
- Geschat aantal sprekers
- ~3,000,000
02Intl API Live Output
DateTimeFormat
- Short
- 04/12/26
- 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 (Singapore) is supported by Lefine. Add zh-SG to your project in seconds — no manual config required.
CLDR
CLDR Plural Rules
Categories supported by zh-SG: 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-SG', 'en'], defaultLocale: 'en',});App.tsx
// react-intl configurationimport { IntlProvider } from 'react-intl';import messages from './messages/zh-SG.json'; function App() { return ( <IntlProvider locale="zh-SG" messages={messages}> {/* your app */} </IntlProvider> );}i18n.ts
// i18next configurationimport i18n from 'i18next';import { initReactI18next } from 'react-i18next'; i18n .use(initReactI18next) .init({ lng: 'zh-SG', fallbackLng: 'en', resources: { 'zh-SG': { translation: require('./locales/zh-SG/translation.json'), }, }, }); export default i18n;zh
Related Locales
Meer tools
Meer gratis i18n-tools
Gratis tools voor de rest van je i18n-workflow: localegegevens, ICU-berichten, bestandsformaten en hreflang.
01