Skip to content

CyrilleB79/nvda-cldr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

About

CLDR data used in NVDA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%