Crate langcodec

Source
Expand description

Universal localization file toolkit for Rust.

Supports parsing, writing, and converting between Apple .strings, .xcstrings, Android strings.xml, and CSV files.
All conversion happens through the unified Resource model.

Re-exports§

pub use crate::codec::Codec;
pub use crate::codec::convert;
pub use crate::codec::convert_auto;
pub use crate::codec::infer_format_from_extension;
pub use crate::error::Error;
pub use crate::formats::FormatType;
pub use crate::types::Entry;
pub use crate::types::EntryStatus;
pub use crate::types::Metadata;
pub use crate::types::Plural;
pub use crate::types::PluralCategory;
pub use crate::types::Resource;
pub use crate::types::Translation;

Modules§

codec
error
All error types for the langcodec crate.
formats
All supported localization file formats for langcodec.
traits
Traits for format-agnostic parsing and serialization in langcodec.
types
Core, format-agnostic types for langcodec. Parsers decode into these; encoders serialize these.