Comments (5)
What are the approximate steps for working on that?
You can go to issue #1441 and say you'd like to take it and ask for mentorship. Someone from our team will mentor you through that.
If you prefer some other feature of Number Formatter you can ask here unicode-org/icu4x#275 and we'll help you carve out correct API to work on.
The concept in ICU4X is to divide what JS knows as NumberFormat
into a tree of more specific and smaller formatters.
from fluent-rs.
@zbraniecki
I thought about implementing percentage formatting, but I'm a bit worried about language-dependent formatting, do you have any advice on how to do it?
from fluent-rs.
I'd wait for ICU4X NumberFormatter, we have scaffolding for it in https://unicode-org.github.io/icu4x-docs/doc/fixed_decimal/index.html for some aspects, and unicode-org/icu4x#1441 for others.
Maybe you'd like to help with that? :)
from fluent-rs.
I'd wait for ICU4X NumberFormatter, we have scaffolding for it in https://unicode-org.github.io/icu4x-docs/doc/fixed_decimal/index.html for some aspects, and unicode-org/icu4x#1441 for others.
Maybe you'd like to help with that? :)
Yeah, I was looking at that a bit. What are the approximate steps for working on that?
from fluent-rs.
In Firefox we are using ICU4C to do this, but the examples in fluent-rs should be backed by ICU4X's number formatter. I'll update this issue to say as much.
from fluent-rs.
Related Issues (20)
- [DX Enhancement] Make fluent_args works with trailing comma HOT 2
- Ability to parametrise arguments HOT 6
- Expose spans in parser HOT 1
- Lazy Value HOT 2
- ResourceManager::get_resource panics rather than returning a result HOT 4
- ResourceManager::get_bundle and get_bundles is inconsistent and confusing
- ResourceManager ignores and hides errors
- ResourceManager needs to implement BundleGenerator HOT 2
- Parser swallows leading whitespace after indented placeable HOT 2
- Clippy should be run in CI HOT 2
- rustmt should be run in CI
- error[E0277]: `(dyn Any + 'static)` cannot be sent between threads safely HOT 11
- Cannot use built-in functions HOT 2
- Which data providers Fluent crates use? HOT 3
- Make FluentArgs a trait? HOT 1
- Switching windows process/thread ui languages HOT 2
- Provide Way to Avoid Allocating To Collect Formatting Errors HOT 7
- Using or switching to icu4x crates? HOT 4
- Output looks the same, but is different HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-rs.