Crates.io | translate-storage |
lib.rs | translate-storage |
version | 0.0.1 |
source | src |
created_at | 2017-04-24 21:21:50.29132 |
updated_at | 2017-04-24 21:21:50.29132 |
description | Manipulate translation catalogs in PO format. |
homepage | |
repository | https://github.com/rust-locale/translate-storage/ |
max_upload_size | |
id | 11881 |
size | 33,757 |
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.
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"