[][src]Function fluent_templates::loader::create_bundle

pub fn create_bundle(
    lang: LanguageIdentifier,
    resources: &'static [FluentResource],
    core_resource: Option<&'static FluentResource>,
    customizer: &impl Fn(&mut FluentBundle<&'static FluentResource>)
) -> FluentBundle<&'static FluentResource>

Creates a new static FluentBundle for lang using resources. Optionally shared resources can be specified with core_resource and the bundle can be customized with customizer.