Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Workspace Crates

Start with the high-level crates. A typical application needs the facade crate, one runtime manager, and optionally the language-enum helper.

[dependencies]
es-fluent = "0.16"
es-fluent-manager-embedded = "0.16"
es-fluent-lang = "0.16"

Install the CLI separately:

cargo install es-fluent-cli --locked

Swap es-fluent-manager-embedded for es-fluent-manager-dioxus in Dioxus apps by enabling client, ssr, or both surfaces as needed. Use es-fluent-manager-bevy in Bevy apps.

Crates You Usually Use

CrateUse it forCovered in this book
es-fluentDerives, traits, and the public localization facadeGetting Started, Deriving Messages, Namespaces & File Splitting
es-fluent-manager-embeddedEmbedded-runtime apps, CLIs, TUIs, desktop appsRuntime Managers
es-fluent-manager-dioxusDioxus apps using provider/hook-based client locale state or request-scoped SSRRuntime Managers
es-fluent-manager-bevyBevy integration, reactive localized UI, asset loadingRuntime Managers
es-fluent-langType-safe locale enum generation and localized language namesLanguage Enum
es-fluent-cliGenerating, checking, cleaning, syncing, formatting, and inspecting FTL filesCLI Tooling

Public Support Crates

CrateRole
es-fluent-deriveProc-macro implementation re-exported by es-fluent
es-fluent-lang-macroImplementation crate behind #[es_fluent_language]
es-fluent-buildBuild-script helper for locale asset rebuild tracking
es-fluent-manager-coreShared runtime traits, module registration, fallback logic
es-fluent-manager-macrosCompile-time module registration and BevyFluentText derive

Internal Workspace Crates

CrateResponsibility
es-fluent-sharedRuntime-safe metadata, naming, namespace, and path helpers
es-fluent-derive-coreBuild-time option parsing and validation for derives
es-fluent-tomli18n.toml parsing, path resolution, and locale discovery
es-fluent-generateFTL AST generation, merging, cleaning, and formatting
es-fluent-cli-helpersRuntime logic executed inside the generated runner binary
es-fluent-runnerShared runner protocol types and .es-fluent/metadata path helpers
xtaskRepository maintenance tasks such as rebuilding the book and language-name data