initFluentContext
Initializes a new FluentContext with the given SvelteFluent object and adds it to the svelte context.
initFluentContext(() => fluent); Parameters
| Name | Type | Description |
|---|---|---|
fn | () => SvelteFluent | Defines the SvelteFluent object to be used |
Return value
The FluentContext object.