corebreaker / poreader

Rust library for parsing translation catalogs similar to the translate.storage python module from translate toolkit.
MIT License
4 stars 0 forks source link

Writer #15

Open CarlSchwan opened 2 months ago

CarlSchwan commented 2 months ago

It would be really helpful if we could write back the po files after reading them and modifying them.

Usecase would be for https://invent.kde.org/carlschwan/webl10n/ which is a custom tool we are working on to modernize our translation infrastructure

corebreaker commented 2 months ago

Ok, thank you for this issue. It's interesting. I'm studying this case and i'm answer to that quickly.

corebreaker commented 1 week ago

This crate is dedicated to reading.

IMO, it would be worth creating a new crate for R/W operations, a crate named pomodifier or something like that.

corebreaker commented 1 week ago

I just created a new crate for that: PoBuilder, this is just a fork, the writer will have to do in this new crate later.

You can re-post this issue in the new repository, if you want.