Expand description
This library is designed for use within the cargo-i18n tool for localizing crates. It has been exposed and published as a library to allow its direct use within project build scripts if required.
xtr (installed with cargo install xtr), and GNU Gettext CLI
tools msginit, msgfmt, msgmerge and msgcat to be present
in your system path.
§Optional Features
The i18n-build crate has the following optional Cargo features:
localize- Enables the runtime localization of this library using localize() function via the i18n-embed crate
Modules§
- error
- Error types for use with the
i18n_buildlibrary. - gettext_
impl - This module contains the implementation for localizing using the
gettextlocalization system. - util
- Utility functions for use with the
i18n_buildlibrary. - watch
- Utility functions to use within a
build.rsbuild script using this library.