spiegel-keyman/resources/standards-data/readme.md
Marc Durdin 5abb28e29b chore(common): add data versions to minimum-versions.inc.sh
This adds references to various data sources such as Unicode. At
present, this is informational only, not used by any scripts, but the
intent is that in the future we reference this for any scripted data
updates.
2024-08-06 13:26:39 +07:00

70 lines
1.8 KiB
Markdown

# standards-data
The subfolders of this directory contain data from various standards
that are used in Keyman. If you update any files, be sure to update
the version data in this file also.
## Current Versions
See [minimum-versions.md](../../docs/minimum-versions.md)
Unversioned data:
| data | version |
|----------------------------|-------------|
| ethnologue | ? |
| windows-lcid-to-bcp-47 | ? |
## File Sources
### Ethnologue
This data comes from https://www.ethnologue.com/#resources, LanguageIndex.tab. It has been hand-converted from TSV to CSV, and the header line has been replaced.
### iso639-3
The file can be updated with:
```bash
wget https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab -O iso639-3/iso639-3.tab
```
### langtags
The file is retrieved from <https://ldml.api.sil.org/langtags.json>:
```bash
wget https://ldml.api.sil.org/langtags.json -O langtags/langtags.json
```
See also [langtags/readme.md](langtags/readme.md).
### language-subtag-registry
The file can be updated with:
```bash
wget https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry \
-O language-subtag-registry/language-subtag-registry
```
### ldml-keyboards
This data is from <https://github.com/unicode-org/cldr.git>
See also [ldml-keyboards/readme.md](ldml-keyboards/readme.md).
### unicode-character-database
Data from <https://www.unicode.org/Public/15.1.0/ucd/>:
```bash
UNICODE_VERSION=15.1.0
wget https://www.unicode.org/Public/${UNICODE_VERSION}/ucd/Blocks.txt -O unicode-character-database/Blocks.txt
wget https://www.unicode.org/Public/${UNICODE_VERSION}/ucd/UnicodeData.txt -O unicode-character-database/UnicodeData.txt
```
### windows-lcid-to-bcp-47
See [readme.md](windows-lcid-to-bcp-47/readme.md).