I’m looking for a CLI to interact with Fluent translations. The primary thing I want to do is query an *.ftl
file for a specific message. I expect to provide the message id and any contextual data required as command line arguments and get a translated string back.
I had a look at the Rust repository and see a CLI folder, but the link in the README to a crate for it is dead, and I don’t see anything in the main crate about it either. I’m not familiar enough with the Rust ecosystem to even know what I’m expected to do with that folder — if indeed it’s not just a placeholder and there is something there that can be used.
Poking at both Python and Javascript it doesn’t look like it would be too hard to build my own wrapper CLI script to make them produce such results, but I have to assume this work has been done before and I’m just not finding it.