[][src]Derive Macro i18n_embed_impl::LanguageLoader

#[derive(LanguageLoader)]
{
    // Attributes available to this derive:
    #[config_file]
}

A procedural macro to implement the LanguageLoader trait on a struct.

The following struct level attributes available:

  • (Optional) #[config_file = "i18n.toml"] - path to i18n config file relative to the crate root.