6 releases

0.1.0 Jan 18, 2024
0.0.5 Mar 12, 2023

#63 in Internationalization (i18n)

Download history 8/week @ 2024-01-17 2/week @ 2024-02-21 12/week @ 2024-02-28 92/week @ 2024-03-06 13/week @ 2024-03-13

119 downloads per month

MIT license

205KB
5K SLoC

rspolib

crates.io PyPI docs.rs Bindings docs

Port to Rust of the Python library polib.

Install

cargo add rspolib

Usage

use rspolib::{pofile, prelude::*};

let po = pofile("./tests-data/flags.po").unwrap();

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

po.save("./file.po");

See the documentation at docs.rs/rspolib

Python bindings

Python versions

Dependencies

~0.6–1MB
~22K SLoC