Skip to content

nvaccess/nvda-cldr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
  2. 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.

Releases

No releases published

Packages

No packages published

Languages