Skip to content

Commit

Permalink
ICU-22722 Update docs for cldr-to-icu converter
Browse files Browse the repository at this point in the history
  • Loading branch information
echeran committed May 31, 2024
1 parent 3235c38 commit b9b324c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/cldr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
13 changes: 12 additions & 1 deletion tools/cldr/cldr-to-icu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9b324c

Please sign in to comment.