Expand description

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

Functions

  • Run the gettext i18n build process for the provided crate. The crate must have an i18n config containing a gettext config.
  • Run the gettext utils msgcat command to concatinate pot files into a single pot file.
  • Run the gettext msgfmt command to compile the po files into binary mo files.
  • Run the gettext msginit command to create a new po file.
  • Run the gettext msgmerge command to update the po files with new/deleted messages from the source pot files.
  • Run the xtr command (https://crates.io/crates/xtr/) in order to extract the translateable strings from the crate.