Skip to content
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

Which data providers Fluent crates use? #314

Closed
hydroper opened this issue Mar 8, 2023 · 3 comments
Closed

Which data providers Fluent crates use? #314

hydroper opened this issue Mar 8, 2023 · 3 comments

Comments

@hydroper
Copy link

hydroper commented Mar 8, 2023

I think fluent relies on icu. Several of their constructors require a data provider. Do you simply use icu_testdata or have you passed through the data management process? If so, how can I reuse it? Or am I wrong about the use of icu? I'm asking because it could be an indirect dependency too.

Note, I think this because:

What makes you think so?

@zbraniecki The built-in functions: https://projectfluent.org/fluent/guide/functions.html Inclusively it implements something like Intl.DateTimeFormat.

@zbraniecki
Copy link
Collaborator

I think fluent relies on icu.

What makes you think so?

@hydroper
Copy link
Author

hydroper commented Mar 8, 2023

@zbraniecki The built-in functions: https://projectfluent.org/fluent/guide/functions.html Inclusively it implements something like Intl.DateTimeFormat.

@alerque
Copy link
Collaborator

alerque commented May 6, 2024

The build in functions you are referencing from the guide are not (to date) even implemented at all in the fluent-rs series of crates. There is current work in progress both and some discussion about specifics that you could jump into if you are interested. See #353 for the NUMBER() builtin and #181 for DATETIME(). Also note #269 where this is discussion and action towards using icu4x.

@alerque alerque closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants