1//! This crate allows users to load, manipulate and save translation data in
2//! GNU gettext `.po` file format. Saving translation data into `.mo` file format
3//! is also supported. For simplicity, only UTF-8 encoding is supported.
4//!
5//! A _Message_ represents an entry in the translation data that maps a string
6//! or a pair of singular form and plural form strings in the original language
7//! to a string or a vector of string in different plural forms in the target language.
8//!
9//! A _Catalog_ holds a collection set of _Messages_, and is stored in a `.po` or `.mo` file.
10//!
11//! _Metadata_ is the "header" section of a _Catalog_ that declares its
12//! properties like target language, character encoding, translation template
13//! creation date, last time translated, plural forms rules, etc.
14
15#![warn(missing_docs)]
16
17pub mod catalog;
18pub mod message;
19pub mod metadata;
20pub mod mo_file;
21mod plural;
22pub mod po_file;
23