@keymanapp/langtags 19.0.146-alpha → 19.0.151-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -38
- package/build/src/imports/langtags.js +1 -4
- package/build/src/imports/langtags.js.map +1 -1
- package/build/src/main.js +1 -4
- package/build/src/main.js.map +1 -1
- package/package.json +41 -40
package/README.md
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
# Keyman langtags
|
|
2
|
-
|
|
3
|
-
This package provides a wrapper for the
|
|
4
|
-
[langtags.json](https://ldml.api.sil.org/langtags.json) dataset from
|
|
5
|
-
https://github.com/silnrsi/langtags.
|
|
6
|
-
|
|
7
|
-
This package is published in sync with Keyman, so changes in langtags may not
|
|
8
|
-
propagate immediately.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
* `getLangtagByTag(tag)`: Find a language tag from a given tag; matches on tag,
|
|
13
|
-
tags, full properties, with a case-insensitive search. Returns unmodified
|
|
14
|
-
object from langtags.json on match.
|
|
15
|
-
|
|
16
|
-
* `metadata.conformance()`: Returns script and region conformance data from
|
|
17
|
-
langtags.json
|
|
18
|
-
|
|
19
|
-
* `metadata.globalvar()`: Returns global variant data from langtags.json
|
|
20
|
-
|
|
21
|
-
* `metadata.phonvar()`: Returns phonetic variant data from langtags.json
|
|
22
|
-
|
|
23
|
-
* `metadata.version()`: Returns version data from langtags.json
|
|
24
|
-
|
|
25
|
-
* `langtags`: Raw access to the langtags.json array of objects
|
|
26
|
-
|
|
27
|
-
## Background
|
|
28
|
-
|
|
29
|
-
Key documents for further reading (from langtags repository):
|
|
30
|
-
|
|
31
|
-
* [Overview of language tags and how this project works with them](https://github.com/silnrsi/langtags/blob/master/doc/tagging.md)
|
|
32
|
-
|
|
33
|
-
* [How to use langtags.json](https://github.com/silnrsi/langtags/blob/master/doc/langtags.md)
|
|
34
|
-
|
|
35
|
-
## License
|
|
36
|
-
|
|
37
|
-
* Copyright ©️ 2025 SIL Global.
|
|
38
|
-
* MIT License ([License text](https://github.com/keymanapp/keyman/tree/master/LICENSE.md))
|
|
1
|
+
# Keyman langtags
|
|
2
|
+
|
|
3
|
+
This package provides a wrapper for the
|
|
4
|
+
[langtags.json](https://ldml.api.sil.org/langtags.json) dataset from
|
|
5
|
+
https://github.com/silnrsi/langtags.
|
|
6
|
+
|
|
7
|
+
This package is published in sync with Keyman, so changes in langtags may not
|
|
8
|
+
propagate immediately.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
* `getLangtagByTag(tag)`: Find a language tag from a given tag; matches on tag,
|
|
13
|
+
tags, full properties, with a case-insensitive search. Returns unmodified
|
|
14
|
+
object from langtags.json on match.
|
|
15
|
+
|
|
16
|
+
* `metadata.conformance()`: Returns script and region conformance data from
|
|
17
|
+
langtags.json
|
|
18
|
+
|
|
19
|
+
* `metadata.globalvar()`: Returns global variant data from langtags.json
|
|
20
|
+
|
|
21
|
+
* `metadata.phonvar()`: Returns phonetic variant data from langtags.json
|
|
22
|
+
|
|
23
|
+
* `metadata.version()`: Returns version data from langtags.json
|
|
24
|
+
|
|
25
|
+
* `langtags`: Raw access to the langtags.json array of objects
|
|
26
|
+
|
|
27
|
+
## Background
|
|
28
|
+
|
|
29
|
+
Key documents for further reading (from langtags repository):
|
|
30
|
+
|
|
31
|
+
* [Overview of language tags and how this project works with them](https://github.com/silnrsi/langtags/blob/master/doc/tagging.md)
|
|
32
|
+
|
|
33
|
+
* [How to use langtags.json](https://github.com/silnrsi/langtags/blob/master/doc/langtags.md)
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
* Copyright ©️ 2025 SIL Global.
|
|
38
|
+
* MIT License ([License text](https://github.com/keymanapp/keyman/tree/master/LICENSE.md))
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1c936a68-05f9-5378-9b90-20c723df842f")}catch(e){}}();
|
|
3
1
|
export default [
|
|
4
2
|
{
|
|
5
3
|
"regions": ["AA", "AC", "AD", "AN", "AQ", "AS", "AX", "BL", "BU", "BV", "CP", "CQ", "CS", "DD", "EA", "EU", "EZ", "FX", "GS", "HM", "IC", "MC", "MF", "MQ", "NT", "PM", "QM", "QN", "QO", "QP", "QQ", "QR", "QS", "QT", "QU", "QV", "QW", "QX", "QY", "QZ", "SM", "SU", "TA", "TF", "TP", "UM", "UN", "VG", "XA", "XB", "XC", "XD", "XE", "XF", "XG", "XH", "XI", "XJ", "XL", "XM", "XN", "XO", "XP", "XQ", "XR", "XS", "XT", "XU", "XV", "XW", "XY", "XZ", "YD", "YU", "ZR", "ZZ"],
|
|
@@ -143898,5 +143896,4 @@ export default [
|
|
|
143898
143896
|
"windows": "zzj-Hani"
|
|
143899
143897
|
}
|
|
143900
143898
|
];
|
|
143901
|
-
//# sourceMappingURL=langtags.js.map
|
|
143902
|
-
//# debugId=1c936a68-05f9-5378-9b90-20c723df842f
|
|
143899
|
+
//# sourceMappingURL=langtags.js.map
|