Skip to the content

Kuni国

Look up countries, codes, names and subdivisions, load country data on demand and mount a native country card.

Kuni (国) is Japanese for a country. About the name

Contents

Reference · /subdivision-names/es

NameSourcetype

Where a name came from: Unicode CLDR (tag is its locale: "es", "zh", "zh_Hant"; draft is its draft status, "provisional" for nearly all of CLDR 48.2's subdivision names, null for an approved one) or a Wikidata label (tag is the label's language tag: "es", "zh-cn", "zh-tw"; draft is null).

Import it

import type { NameSource } from "@johnmorrisdotca/kuni/subdivision-names/es";

Also exported from: @johnmorrisdotca/kuni/subdivision-names/de, @johnmorrisdotca/kuni/subdivision-names/zh-Hans, @johnmorrisdotca/kuni/subdivision-names/zh-Hant

Definition

interface NameSource {
    source: "cldr" | "wikidata";
    tag: string;
    draft: string | null;
}

Members

NameTypeDescription
source"wikidata" | "cldr"

Where the name was read: Unicode CLDR or a Wikidata label.

tagstring

The CLDR locale or the Wikidata language tag it was read under.

draftstring | null

CLDR's draft status ("provisional"), null for an approved CLDR name and for every Wikidata label.

Examples

import type { NameSource } from "@johnmorrisdotca/kuni/subdivision-names/es";

const source: NameSource = { source: "cldr", tag: "es", draft: "provisional" };
console.log(source.source);   // "cldr"
cldr

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kuni 1.19.0.