dioxus-i18n 🌍
i18n integration for Dioxus apps based on the Project Fluent.
This crate used to be in the Dioxus SDK.
Support
- Dioxus v0.6 🧬
- Renderers:
- Both WASM and native targets
Example:
# en-US.ftl
hello = Hello, {$name}!
// main.rs
Further examples
The examples folder contains a number of working examples:
- Desktop examples:
- Configuration variants:
- Fluent grammer:
Development
# Checks clean compile against `#[cfg(not(target_arch = "wasm32"))]`
# Runs all tests