[][src]Module i18n_build::gettext_impl

This module contains the implementation for localizing using the gettext localization system.

Functions

run

Run the gettext i18n build process for the provided crate. The crate must have an i18n config containing a gettext config.

run_msgcat

Run the gettext utils msgcat command to concatinate pot files into a single pot file.

run_msgfmt

Run the gettext msgfmt command to compile the po files into binary mo files.

run_msginit

Run the gettext msginit command to create a new po file.

run_msgmerge

Run the gettext msgmerge command to update the po files with new/deleted messages from the source pot files.

run_xtr

Run the xtr command (https://crates.io/crates/xtr/) in order to extract the translateable strings from the crate.