takecrate 1.1.1

Adds installer functionality to standalone binaries for distribution of CLI applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Internationalization and localization (globalization) support.

#[cfg(feature = "i18n-custom")]
pub use fluent_bundle;
#[cfg(feature = "i18n-custom")]
pub use fluent_templates;

#[cfg(feature = "i18n-custom")]
/// Sets a global language translation loader.
pub fn set_custom_loader(loader: fluent_templates::ArcLoader) {
    crate::locale::set_custom_loader(loader);
}