Referencia de la locale
Khmer (Cambodia) (km-KH)
Complete reference for the km-KH locale — live Intl API output, CLDR plural rules, and framework config snippets.
01Metadatos de la locale
ភាសាខ្មែរ (កម្ពុជា)
- Código BCP 47
- km-KH
- Nombre nativo
- ភាសាខ្មែរ (កម្ពុជា)
- Nombre en inglés
- Khmer (Cambodia)
- Idioma
- km
- Región
- KH
- Escritura
- Khmr
- Dirección del texto
- De izquierda a derecha (LTR)
- Categorías de plural CLDR
- other
- Hablantes estimados
- ~16,000,000
02Intl API Live Output
DateTimeFormat
- Short
- 12/4/26
- Medium
- Dec 4, 2026
- Long
- December 4, 2026
- Full
- Friday, December 4, 2026
NumberFormat
- Decimal
- 1,234,567.89
- Currency (USD)
- $9.99
- Percent
- 75%
- Compact
- 1.2M
RelativeTimeFormat
- -3 day
- 3 days agoOutput for: -3 days ago
ListFormat
- Conjunction
- apples, oranges, and bananasConjunction list: apples, oranges, bananas
Lefine
Khmer (Cambodia) is supported by Lefine. Add km-KH to your project in seconds — no manual config required.
CLDR
CLDR Plural Rules
Categories supported by km-KH: 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: ['km-KH', 'en'], defaultLocale: 'en',});App.tsx
// react-intl configurationimport { IntlProvider } from 'react-intl';import messages from './messages/km-KH.json'; function App() { return ( <IntlProvider locale="km-KH" messages={messages}> {/* your app */} </IntlProvider> );}i18n.ts
// i18next configurationimport i18n from 'i18next';import { initReactI18next } from 'react-i18next'; i18n .use(initReactI18next) .init({ lng: 'km-KH', fallbackLng: 'en', resources: { 'km-KH': { translation: require('./locales/km-KH/translation.json'), }, }, }); export default i18n;km
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