{"repo":"TurtIeSocks/bevy_simple_i18n","free":true,"listed":false,"github":"https://github.com/TurtIeSocks/bevy_simple_i18n","clone":"git clone https://github.com/TurtIeSocks/bevy_simple_i18n.git","description":"Plugin for the Bevy Engine that provides easy to use bindings for the rust-i18n crate","language":"Rust","stars":18,"topics":["bevy","bevy-engine","bevy-plugin","game-development","i18n"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"bevy simple i18n An opinionated but dead simple internationalization library for the Bevy game engine. Project Status As of 0.4, this crate is fully native Bevy: locale files are regular Bevy assets loaded at runtime through the AssetServer , locale state lives in an ECS resource, and translations hot reload . There is no build script, no compile-time embedding, and no global state. (Earlier versions wrapped the rust-i18n crate, which baked every locale file into the binary at compile time — see the migration guide below.) Demo Usage CLI main.rs The manifest The plugin loads a small RON manifest (default: assets/locales/i18n.ron ) that declares your locale files and dynamic font families. It exists because wasm and Android builds cannot list asset directories — so the manifest is the one place that says what to load: Custom manifest location: I18nPlugin::with manifest(\"i18n/manifest.ron\") . Manifest paths are asset paths, relative to the asset root — for a manifest on disk at assets/locales/i18n.ron , the asset path is locales/i18n.ron (omit the assets/ prefix). File Structure Locale Files Both classic formats are supported, in JSON, YAML and TOML: v1 — one file per locale; the file stem is the locale ( en.json , app.ja.yml ): v2 — one file for many locales, marked by version: 2 : Nested maps flatten to dot keys ( a: { b: x } == \"a.b\": x ). If several files define the same key for the same locale, the file listed later in the manifest wins . Features Text Translations Rich Te","default_branch":null,"files":null,"tree":[],"storefront":"/r/TurtIeSocks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TurtIeSocks/bevy_simple_i18n/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}