MCPcopy
hub / github.com/lingodotdev/lingo.dev / LocaleComponents

Interface LocaleComponents

packages/locales/src/types.ts:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2 * Represents the components of a locale string
3 */
4export interface LocaleComponents {
5 /** The language code (e.g., "en", "zh", "es") */
6 language: string;
7 /** The script code (e.g., "Hans", "Hant", "Cyrl") - optional */
8 script?: string;
9 /** The region/country code (e.g., "US", "CN", "RS") - optional */
10 region?: string;
11}
12
13/**
14 * Locale delimiter types

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected