pobuilder
Rust library for forging and for parsing translation catalogs forked from the crate poreader.
Only PO and Xliff are planned to be supported. For anything else, just convert it with [Translate Toolkit]. There is no point in replacing that excellent library; the main reason for Rust parser and writer is to them as part of build process of Rust programs, especially in procedural macros, which need to be written in Rust.
Documentation
On Docs.rs.
Installation
It uses Cargo, Rust's package manager.
You can depend on this library by adding pobuilder to your Cargo dependencies:
[]
= "0.1"
Or, to use the Git repo directly:
[]
= "https://github.com/corebreaker/pobuilder.git"
Or, finally by Cargo CLI:
How to use
Start by creating a PO reader from a new PO parser, then iterate on the reader:
use PoParser;
use ;
;
Status of the project
This project is in early development stage. It's a fork of the crate poreader, which is a parser for PO files.
The writer was suggested by the crate poreader, in an issue, here, but it was never implemented.