Ir al contenido
Referencia de la locale

Samoan (sm)

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

01Metadatos de la locale

Gagana Samoa

Código BCP 47
sm
Nombre nativo
Gagana Samoa
Nombre en inglés
Samoan
Idioma
sm
Región
Ninguna (locale base)
Escritura
Latn
Dirección del texto
De izquierda a derecha (LTR)
Categorías de plural CLDR
one, other
Hablantes estimados
~400,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

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

Start free trial
CLDR

CLDR Plural Rules

Categories supported by sm: 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: ['sm', 'en'],  defaultLocale: 'en',});
Más herramientas

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