[−][src]Crate i18n_build
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 |
gettext_impl | This module contains the implementation for localizing using the
|
util | Utility functions for use with the |
watch | Utility functions to use within a |
Functions
localizer | Obtain a Localizer for localizing this library. |
run | Run the i18n build process for the provided crate, which must contain an i18n config. |