Skip to content
Locale reference

Xhosa (xh)

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

01Locale metadata

isiXhosa

BCP 47 code
xh
Native name
isiXhosa
English name
Xhosa
Language
xh
Region
None (base locale)
Script
Latn
Text direction
Left-to-right (LTR)
CLDR plural categories
one, other
Estimated speakers
~8,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

Xhosa is supported by Lefine. Add xh to your project in seconds — no manual config required.

Start free trial
CLDR

CLDR Plural Rules

Categories supported by xh: one, other

  • oneExample number: 1→ one
  • 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: ['xh', 'en'],  defaultLocale: 'en',});
More tools

Free tools for the rest of your i18n workflow: locale data, ICU messages, file formats and hreflang.