projectfluent / fluent-rs

Rust implementation of Project Fluent
https://projectfluent.org
Apache License 2.0
1.08k stars 97 forks source link

Introduce a writer API #121

Closed zbraniecki closed 4 years ago

zbraniecki commented 5 years ago

With the move to format_pattern we should also consider adding format_pattern_writer to accept a writer.

This will be particularly of use for cases where we already have a target string (Mozilla UI, and likely Gtk, Qt).

zbraniecki commented 5 years ago

I'll push this to 0.8 since I want to test it directly in Gecko against the current approach.

zbraniecki commented 4 years ago

This has been fixed in #199.