Skip to content

Rust library for parsing (and in future writing) translation catalogs similar to the translate.storage python module from translate toolkit.

License

Notifications You must be signed in to change notification settings

rust-locale/translate-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TravisCI Build Status AppVeyor Build Status Crates.io Version Docs.rs

translate-storage

Rust library for reading, and in future writing, translation catalogs in Uniforum/Gettext PO and (in future) Xliff formats. Similar to the translate.storage package in Python Translate Toolkit.

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 translate-storage to your Cargo dependencies:

[dependencies]
translate-storage = "0.1"

Or, to use the Git repo directly:

[dependencies.translate-storage]
git = "https://github.com/rust-locale/translate-storagee.git"

About

Rust library for parsing (and in future writing) translation catalogs similar to the translate.storage python module from translate toolkit.

Resources

License

Stars

Watchers

Forks

Packages

No packages published