Ir al contenido

Khmer (Cambodia) (km-KH)

Complete reference for the km-KH locale — live Intl API output, CLDR plural rules, and framework config snippets.

Referencia de la locale

Khmer (Cambodia)

Metadatos de la locale

Código BCP 47km-KH
Nombre nativoភាសាខ្មែរ (កម្ពុជា)
Nombre en inglésKhmer (Cambodia)
Idiomakm
RegiónKH
EscrituraKhmr
Dirección del textoDe izquierda a derecha (LTR)
Categorías de plural CLDRother
Hablantes estimados~16,000,000

Intl API Live Output

DateTimeFormat

Short9/15/26
MediumSep 15, 2026
LongSeptember 15, 2026
FullTuesday, September 15, 2026

NumberFormat

Decimal1,234,567.89
Currency (USD)$9.99
Percent75%
Compact1.2M

RelativeTimeFormat

3 days ago

Output for: -3 days ago

ListFormat

apples, oranges, and bananas

Conjunction list: apples, oranges, bananas

CLDR Plural Rules

Categories supported by km-KH: other

otherExample number: 100
other

Framework Config Snippets

next-intl
// next-intl configuration
// next.config.ts
import createNextIntlPlugin from 'next-intl/plugin';
const withNextIntl = createNextIntlPlugin();
export default withNextIntl({});

// i18n/routing.ts
import { defineRouting } from 'next-intl/routing';
export const routing = defineRouting({
  locales: ['km-KH', 'en'],
  defaultLocale: 'en',
});
react-intl
// react-intl configuration
import { IntlProvider } from 'react-intl';
import messages from './messages/km-KH.json';

function App() {
  return (
    <IntlProvider locale="km-KH" messages={messages}>
      {/* your app */}
    </IntlProvider>
  );
}
i18next
// i18next configuration
import 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;

Related Locales

CodeNameScriptDir
kmKhmerKhmrLTR

Khmer (Cambodia) is supported by Better I18N

Add km-KH to your project in seconds — no manual config required.

Start free trial

Más herramientas

Herramientas gratuitas para el resto de tu flujo de trabajo i18n: datos de locales, mensajes ICU, formatos de archivo y hreflang.

¿Listo para lanzar globalmente?

Únete a cientos de equipos que usan Better I18N para entregar traducciones más rápidas y con contexto.

Ya en producción con Better I18N