--- title: Running Tools --- # Running Tools ## Provides tools for manipulating CLDR files. Warning: these tools do not have much documentation ### Overview **Variables: (you'll need to set these to whatever you have on your system)** For the purposes of this document, / and \\ are equivalent. Note: Directories must have a trailing slash. | Variables Here | Description | Example | |---|---|---| | {cldrdata} | Location of cldr data root; that is, common, docs, dropbox are found here. | /Users/markdavis/Documents/workspace/cldr/src/ | **Tools:** | Goal | Program Name | Description | Arguments | |---|---|---|---| | | | *Common Arguments for all of following* | -Dfile.encoding=UTF-8
-Xmx700M
-DSHOW_FILES
-DSHOW
-D CLDR_DIR ={cldrdata} | | Testing | CLDRConsole | General testing of data | -r
// (use -h to see options) | | Canonicalizing format | CLDRModify | General verification of vetted data | -r
// (use -h to see options) | | Generating Statistics | CountItems | Generate something like:
 Total Items 66,319
 Total Resolved Items 1,025,077
 Unique Paths 4,717
 Unique Values 45,226
 Unique Full Paths 9,301 | -Dmethod=countItems
-DSOURCE={cldrdata}\cldr_1_4\main

-Dmethod=countItems -DSOURCE={cldrdata}\incoming\vetted\main | | Build most charts | ShowLanguages | | TBD |