libfluent v0.2.0 Fluent.Store
This module hande references to active bundles, that are using during runtimne of the program
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
format_pattern(store, locale, message, args \\ [])
format_pattern(Fluent.Store.t(), Fluent.locale(), String.t(), Keyword.t()) :: any()
Link to this function
get_store(assembly)
get_store(assembly :: Fluent.Assembly.t()) :: Fluent.Store.t()
Link to this function
initialize_locale(assembly, locale)
initialize_locale(assembly :: Fluent.Assembly.t(), locale :: Fluent.locale()) :: {:ok, Fluent.bundle()}
Example:
iex> Fluent.Store.initialize_bundle(MyApp.Fluent, "en-US")
Link to this function
initialize_store(assembly)
initialize_store(assembly :: Fluent.Assembly.t()) :: {:ok, t()}