ICU-22722 Update docs for cldr-to-icu converter

This commit is contained in:
Elango Cheran 2024-05-31 13:42:21 -07:00
parent 3235c38f24
commit b9b324ccc5
2 changed files with 13 additions and 2 deletions

View file

@ -14,6 +14,6 @@ more directories to the list, modify the `cldrTestData` fileset.
The cldr-to-icu directory contains tools to convert from CLDR's XML
data to ICU resource files.
See [cldr-to-icu/README.txt](cldr-to-icu/README.txt) and
See the [cldr-to-icu README](https://github.com/unicode-org/icu/tree/main/tools/cldr/cldr-to-icu) and
[cldr-icu-readme.txt](../../icu4c/source/data/cldr-icu-readme.txt) for
more information.

View file

@ -162,7 +162,18 @@ $ ant -f build-icu-data.xml
$ ant -f build-icu-data.xml <options>
```
See build-icu-data.xml for documentation of all options and additional customization.
## Config syntax details
Note: some elements have an implicit default attributes associated with them, according to [`ldml.dtd`](https://github.com/unicode-org/icu/blob/main/icu4c/source/data/dtd/cldr/common/dtd/ldml.dtd).
For example, for the `timeFormat` element,
the following excerpt of the DTD schema indicates that there is a default value `"standard"` for the `type` attribute:
```
<!ELEMENT timeFormat ... >
<!ATTLIST timeFormat type NMTOKEN "standard" >
```
See `build-icu-data.xml` for documentation of all options and additional customization.
## Running unit tests