-
-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experiment with ICU4X #1180
Comments
Ok, details I found while investigating ICU4X:
|
CC @sffc |
<!--- Thank you for contributing to Boa! Please fill out the template below, and remove or add any information as you feel neccesary. ---> This pull request is related to #1180. It changes the following: - Creates the `Intl` global - Adds the `Intl.getCanonicalLocales` method At the moment it does not actually use ICU4X behind the scenes; `Intl.getCanonicalLocales` simply acts as if all the locales passed are canonical locales. This will not be the case in the final PR. Co-authored-by: RageKnify <RageKnify@gmail.com>
<!--- Thank you for contributing to Boa! Please fill out the template below, and remove or add any information as you feel neccesary. ---> This pull request is related to #1180. It changes the following: - Creates the `Intl` global - Adds the `Intl.getCanonicalLocales` method At the moment it does not actually use ICU4X behind the scenes; `Intl.getCanonicalLocales` simply acts as if all the locales passed are canonical locales. This will not be the case in the final PR. Co-authored-by: RageKnify <RageKnify@gmail.com>
Hi there! I just saw this today. Here are instructions on how to generate the ICU4X data file: https://crates.io/crates/icu_datagen Specific replies inline:
It is on crates.io; see link above.
Correct. This is the easiest way to include data.
You should use icu4x-datagen to generate the data. You need the CLDR data available at build time.
We have an issue to track this: unicode-org/icu4x#1188
@hsivonen has been working on the collator and can share more about the timeline for this feature. |
There's now an ICU4X PR that shows the status of the collator. |
Nice! |
https://github.com/unicode-org/icu4x will be useful for implementing i18n-sensititve operations and future proposals like
Temporal
The text was updated successfully, but these errors were encountered: