icu_datagen-0.5.0 is not a library.
Visit the last successful build:
icu_datagen-1.5.0
icu_datagen
icu_datagen
contains command-line tools to generate and process ICU4X data.
The tools include:
icu4x-datagen
: Read source data (CLDR JSON) and dump ICU4X-format data.icu4x-testdata-download
: Download fresh CLDR JSON for testdata.icu4x-key-extract
: ExtractResourceKey
objects present in a compiled executable.
More details on each tool can be found by running --help
.
Examples
Generate ICU4X Postcard blob (single file) for all keys and all locales:
# Run from the icu4x project folder
Extract the keys used by an executable into a key file:
# Run from the icu4x project folder
Generate ICU4X JSON file tree from the key file for Spanish and German:
# Run from the icu4x project folder
More Information
For more information on development, authorship, contributing etc. please visit ICU4X home page
.