icu4x
icu4x copied to clipboard
Solving i18n for client-side and resource-constrained environments.
See design doc: https://github.com/unicode-org/icu4x/blob/e97c8c3b3d9c129bbf63ffc8162080dd01931ee1/docs/design/data_pipeline.md#pre-processing-of-data ### Discussed in https://github.com/unicode-org/icu4x/discussions/910 Originally posted by **nordzilla** July 27, 2021 ## Relevant Background/Related Discussions: * #30 ## Discussion In the experimentation with [ICU4X in Gecko...
`LocaleCanonicalizer` is only really a `LanguageIdentifierCanonicalizer` at the moment, as it does not canonicalize any extensions. However, Unicode extensions for example can be canonicalized (`de-u-co-standard` -> `de`). Canonicalizing extensions lets...
UnicodeSets should have more positive tests. If conformance tests are create for UnicodeSets, we should add those too. For now, ICU4C/ICU4J can be used as inspiration: * https://github.com/unicode-org/icu/blob/main/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/UnicodeSetTest.java * https://github.com/unicode-org/icu/blob/main/icu4c/source/test/intltest/usettest.cpp
Currently the FFI function `ICU4XZonedDateTimeFormatter::create_with_lengths` takes a non-optional date length and time length. However, the Rust equivalent function takes these as optional. We should reflect the optionality in FFI. Unclear...
In `CurrencyFormatter`, we need to do two things: 1. Load the currency grouping separator 2. Use `FixedDecimalFormatter`.
ICU4X is missing an API for querying the Numeric_Value property of a character. Use case: Gecko uses this property to classify the sameness of numbering systems for the purpose of...
Currently we for example define locale directionality on the locid type, so clients that have a properties script cannot use this API. Example: https://github.com/googlefonts/fontc/blob/9466281d982d49a2b7b19845e5f13d720c1682d4/fontbe/src/features/properties.rs#L65
See [icu4x-cargo-audit.txt](https://github.com/unicode-org/icu4x/files/14729586/icu4x-cargo-audit.txt) for the full results. In summary: There are transitive dependencies on atty (which is unmaintained and has a [RUSTSEC](https://rustsec.org/advisories/RUSTSEC-2021-0145.html) entry) and atomic-polyfill which has been yanked [and deprecated...
ECMA-402 will soon include [DurationFormat](https://github.com/tc39/proposal-intl-duration-format), a formatter that supports durations. Under the hood, DurationFormat uses a ListFormat (#800) to compose measurement units (#275) in most cases, with a special code...