fluent-rs icon indicating copy to clipboard operation
fluent-rs copied to clipboard

Make `Serializer` and some of his methods public

Open andrew000 opened this issue 8 months ago • 3 comments

I use this methods to serialize text into Message/Term/etc in my Fluent Extractor.

It would be great to make them public

andrew000 avatar May 23 '25 13:05 andrew000

As the original movers and drivers of the serializer feature getting merged at all @Michael-F-Bryan and @RumovZ, do you have any input relevant to making these bits public?

alerque avatar May 23 '25 13:05 alerque

Tangentially related, #374.

alerque avatar May 23 '25 13:05 alerque

Nope, wouldn't mind.

RumovZ avatar May 24 '25 08:05 RumovZ

Any news?

andrew000 avatar Jul 01 '25 06:07 andrew000

Are we ready to merge? @alerque

andrew000 avatar Jul 07 '25 11:07 andrew000

Any news?

andrew000 avatar Aug 13 '25 11:08 andrew000

Any news?

andrew000 avatar Oct 16 '25 12:10 andrew000

We're currently looking into building tooling around converting gettext PO files to FTL files and adding some utilities for renaming identifiers and keeping FTL files tidy for fish^0. For this, we would need to be able to parse FTL files, modify the parsed data, and serialize it back so that we can update the FTL files. I just started looking into the available APIs from fluent-rs, but having a serializer available is almost certainly something we would need.

This PR is very small (it only adds a few pub modifiers) and has already been approved. Is there anything preventing it from being merged?

danielrainer avatar Nov 08 '25 23:11 danielrainer

Since this was approved, I'm going to go ahead and land this.

waywardmonkeys avatar Nov 09 '25 14:11 waywardmonkeys