fluent-rs
                                
                                
                                
                                    fluent-rs copied to clipboard
                            
                            
                            
                        Rust implementation of Project Fluent
Hi, I'm evaluating options for localising one of my Rust command line programs. But I'm having some trouble wrapping my head around some of the features (or lack thereof in...
When using fluent inside the Rust compiler we came across an unfortunate limitation, fluent and more precisely `FluentNumber` doesn't support the full precision of all numbers it accepts. https://github.com/projectfluent/fluent-rs/blob/a2cef6bff4885623f638a6968e034ce1a296ba01/fluent-bundle/src/types/number.rs#L125-L129 This...
`FluentArgs::set` does not currently replace arguments in the latest version of fluent-bundle (v0.15.2) The PR that fixes this issue (https://github.com/projectfluent/fluent-rs/pull/271) was merged Oct 27 2022. As such the issue is...
Since icu4x is now in existence and much further along now than it was when `fluent-rs` was actively being developed, is it worth looking at switching some functionality to using...
We should add it to a workflow in: `.github/workflows`
The `bundle.format_pattern()` method takes a `&mut Vec` to allow you to respond to errors, but I have a situation where my bundle struct is accessed concurrently across multiple threads with...
Shares the implementation of unescape_unicode and unescape_unicode_to_string. I've added a check to the corresponding test to make sure values that don't need unescaping are returned as Cow::Borrowed.
`FluentArgs`'s key API (beyond construction) would appear to be `get`. Maybe also `iter`; I don't know if that's actually needed. Can we replace the type with a trait? ```rust pub...
Hello, i have this fluent content: ``` server_info_desc = > 🏷️ **Quelques statistiques :** {"** **"} `{ NUMBER($emojis) }` emojis `{ NUMBER($stickers) }` stickers `{ NUMBER($threads) }` threads `{ NUMBER($categories)...