PO
po is a rust crate for reading and writing PO translation files.
USAGE
To parse a .po or .pot file, just create a new PoFile
let file = new.unwrap;
To update the file PoFile was generated from, use update()
let file = new.unwrap;
file.update.unwrap;
To write the PoFile to another file, use write(path)
let file = new.unwrap;
file.write.unwrap;
To get the PoFile as the String, equal to the file, use to_string()
let file = new.unwrap;
let data = file.to_string;
// Content in `data` will be the same as the one written using `write` or `update`.