icu4x
icu4x copied to clipboard
Solving i18n for client-side and resource-constrained environments.
FixedDecimal is [defined](https://unicode-org.github.io/icu4x-docs/doc/fixed_decimal/index.html) as "a core API for representing numbers in a human-readable form appropriate for formatting and plural rule selection". Currently, we support decimal numbers with leading zeros and...
In case we're not already doing it, we should make sure that when parsing a string representing a number and/or performing `PluralRules::select()`: - [ ] we parse both compact notation...
Segmenter
For Segmenter, seems like the first crate we could consider incorporating is https://github.com/makotokato/uax14_rs @sffc @Manishearth @makotokato - would it make sense to consider it for ICU4X?
This issue is tracking https://github.com/rust-diplomat/diplomat/issues/152
The idea of creating local error types, defined within a hierarchy, has come up a couple of times recently: - When discussing #118, we brought up the idea, summarized as...
Context: https://github.com/unicode-org/icu4x/pull/2250#discussion_r930774402 Our style guide says that we should implement Debug on all exported types; however, we don't currently do that. @robertbastian suggested the `missing_debug_implementations` rustc lint. @Manishearth thoughts? Most...
In this code: https://github.com/unicode-org/icu4x/blob/1602d46878fa471d1e79dfcf5af5fbc2134d0fcf/experimental/segmenter/src/lstm.rs#L62 We only check for `'e'`. I think we should check for `'e'` or `'s'`. Also, consider adding more tests in general. Or consider using the experimental...
There are multiple clients that want to use public ICU API for transliteration and segmentation due to its prevalence in the industry => users wouldn't have to migrate code, just...
In SpiderMonkey we are asserting in debug builds that our generated locale data are consistent by checking the locales available for different components. ICU supports this through functions like `udat_getAvailable`....