mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-05 05:25:34 +00:00
ICU-22285 how to include gb2312 & big5han collation tailorings
This commit is contained in:
parent
3b030512ff
commit
0684f8644c
1 changed files with 21 additions and 0 deletions
|
@ -104,6 +104,27 @@ The default configuration is equivalent to a filter file like this:
|
|||
]
|
||||
}
|
||||
|
||||
If you do want to include these collation tailorings,
|
||||
you can configure ICU with a filter file which has the opposite effect:
|
||||
|
||||
{
|
||||
"resourceFilters": [
|
||||
{
|
||||
"categories": [
|
||||
"coll_tree"
|
||||
],
|
||||
"rules": [
|
||||
"+/collations/big5han",
|
||||
"+/collations/gb2312han"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Alternatively, if you want to make sure to include *all* collation tailorings,
|
||||
you can use a single filter rule like `+/collations` or `+/collations/*`
|
||||
rather than listing each tailoring by its full, explicit path.
|
||||
|
||||
### Locale Slicing
|
||||
|
||||
The simplest way to slice ICU data is by locale. The ICU Data Build Tool
|
||||
|
|
Loading…
Add table
Reference in a new issue