Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nvaccess/nvda-cldr
CLDR data used in NVDA
https://github.com/nvaccess/nvda-cldr
Last synced: 2 months ago
JSON representation
CLDR data used in NVDA
- Host: GitHub
- URL: https://github.com/nvaccess/nvda-cldr
- Owner: nvaccess
- Created: 2022-09-12T07:21:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-04T03:44:26.000Z (3 months ago)
- Last Synced: 2024-11-04T04:25:41.614Z (3 months ago)
- Language: Python
- Size: 4.69 MB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## NVDA - cldr
The CLDR repository is quite large, and takes a long time to clone.
NVDA only requires ~14MB of data from CLDR, and it is changed infrequently.
Rather than pull the whole CLDR repository into NVDA, this repo us used to create
the `source/locale/*/cldr.dic` files, from CLDR data.## Requirements
- Python 3.11-32
- Intention: Match the NVDA python version, reduce tooling complexity for developers.## Run
1. Ensure the output directory is empty or non-existent.
1. `py -3.7-32` build.py## Output
See `out\` directory.
- `locale` directory contains all the generated cldr dictionaries.
- `cldrLocaleDicts.zip` is the `locale` directory zipped.The contents of the `cldrLocaleDicts.zip` should be extracted to the NVDA `source/locale/` directory.
Example path after extraction: `source\locale\en\cldr.dic`.## Logging
Default log level in `INFO`.
Change the level in `build.py` to `DEBUG` for higher verbosity.