spiegel-keyman/resources/standards-data/ldml-keyboards/readme.md
Steven R. Loomis 322e987d5d chore(resources): prepare scripts for updating CLDR from latest v45
- make the updater script a little clearer
- double check the correct version of CLDR is being imported
- prepare to support multiple CLDR version streams
2024-04-19 17:25:21 -05:00

29 lines
940 B
Markdown

# ldml-keyboards
Data is versioned, so each directory has its version such as `45`.
## How to Update
- Checkout CLDR, preferably a release version, somewhere such as /src/cldr
- run `fetch-latest-cldr.sh 45 /src/cldr` (where '45' is the CLDR version)
- check results, run tests, check in and open a PR
## Data Format
Each directory contains:
- `ldmlKeyboard3.dtd` - the DTD file
- `ldmlKeyboard3.xsd` - the XSD file, automatically converted from the DTD using
Visual Studio, hand tweaked as necessary
- `ldml-keyboard3.schema.json` - the JSON schema file, automatically converted
from the XSD using xsd2json (https://github.com/Mermade/jgeXml), hand tweaked
as necessary:
- change toplevel "id" to "$id"
- add "type": "object" to /keyboard
- change /keyboard/keys/key type to "array"
- `imports/` - the importable data files (TODO-LDML)
## License
- [unicode-license.txt](unicode-license.txt) - Unicode license