summaryrefslogtreecommitdiff
path: root/packages/lang/src/types.ts
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-11-23 13:29:28 +0700
committerpolwex <polwex@sortug.com>2025-11-23 13:29:28 +0700
commitba2dbc660c229d3e86662d35513dfa7c904d9870 (patch)
treeafdc039ac31587be0a3d089d024222fb2023fbe9 /packages/lang/src/types.ts
parentcb1b56f5a0eddbf77446f415f2beda57c8305f85 (diff)
Diffstat (limited to 'packages/lang/src/types.ts')
-rw-r--r--packages/lang/src/types.ts50
1 files changed, 0 insertions, 50 deletions
diff --git a/packages/lang/src/types.ts b/packages/lang/src/types.ts
deleted file mode 100644
index 57e46b4..0000000
--- a/packages/lang/src/types.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-// * Category of a language:
-// *
-// * * `'living'`
-// * — currently spoken language
-// * (example: `nhi` for `Zacatlán-Ahuacatlán-Tepetzintla Nahuatl`)
-// * * `'historical'`
-// * — extinct language distinct from modern languages that descended from it
-// * (example: `ofs` for `Old Frisian`)
-// * * `'extinct'`
-// * — language that went extinct recently
-// * (example: `rbp` for `Barababaraba`)
-// * * `'ancient'`
-// * — language that went extinct long ago
-// * (example: `got` for `Gothic`)
-// * * `'constructed'`
-// * — artificial languages, excluding programming languages
-// * (example: `epo` for `Esperanto`)
-// * * `'special'`
-// * — non-language codes
-// * (example: `und` for `Undetermined`)
-// *
-// * Scope of a language:
-// *
-// * * `'individual'`
-// * — normal, single language
-// * (example: `eng` for `English`)
-// * * `'macrolanguage'`
-// * — one-to-many grouping of languages, because older ISO 639s included them
-// * (example: `ara` for `Arabic`)
-// * * `'special'`
-// * — non-language codes
-// * (example: `und` for `Undetermined`)
-// *
-
-type ISO_6393_3_TYPE = string;
-export type ISO_6393_3 = {
- // Script name.
- name: string;
- // Four character ISO 15924 code.
- type: ISO_6393_3_TYPE;
- // // * Three character ISO 15924 code.
- scope: "individual" | "macrolanguage" | "special";
- // * Property value alias.
- iso6393: string;
- // * ISO 639-2 (bibliographic) code (example: `'eng'`).
- iso6392B?: string;
- // * ISO 639-2 (terminologic) code (example: `'eng'`).
- iso6392T?: string;
- iso6391?: string;
-};