[go: up one dir, main page]

rspolib 0.0.2

PO and MO files manipulation library.
Documentation

rspolib

crates.io docs.rs

Port to Rust of the Python library polib.

Install

cargo add rspolib

Usage

use rspolib::pofile;

let po = pofile("path/to/file.po").unwrap();

for entry in po.entries {
    println!("{}", entry.msgid);
}

po.save("path/to/other/file.po").unwrap();