{"repo":"rustunit/bevy_device_lang","free":true,"listed":false,"github":"https://github.com/rustunit/bevy_device_lang","clone":"git clone https://github.com/rustunit/bevy_device_lang.git","description":"Cross-platform way to query device language setting","language":"Rust","stars":20,"topics":["bevy","cross-platform","gamedev","mobile"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"bevy device lang [![crates.io][sh crates]][lk crates] [![docs.rs][sh docs]][lk docs] [![discord][sh discord]][lk discord] [sh crates]: https://img.shields.io/crates/v/bevy device lang.svg [lk crates]: https://crates.io/crates/bevy device lang [sh docs]: https://img.shields.io/docsrs/bevy device lang [lk docs]: https://docs.rs/bevy device lang/latest/bevy device lang/ [sh discord]: https://img.shields.io/discord/1176858176897953872?label=discord&color=5561E6 [lk discord]: https://discord.gg/rQNeEnMhus Provides access device language cross-platform: iOS, Android, Web (Wasm), Windows & Linux. Useful to support app localization in the right language. See the crate in action in Zoolitaire: Features macOS, iOS (using [NSLocale preferredLanguage] see docs) Android (using Locale.getDefault().toLanguageTag see docs)) Wasm (uses web-sys and Navigator.language() see docs) Windows (using GetUserDefaultLocaleName see docs) Linux (using Env: LC ALL , LC MESSAGES or LANG ) Usage Add dependency: bevy device lang = \"0.4\" Our Other Crates - bevy debug log - bevy device lang - bevy web popups - bevy libgdx atlas - bevy ios review - bevy ios gamecenter - bevy ios alerts - bevy ios notifications - bevy ios impact - bevy ios safearea License All code in this repository is dual-licensed under either: - MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT) - Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) at your option. This means you can select ","default_branch":null,"files":null,"tree":[],"storefront":"/r/rustunit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rustunit/bevy_device_lang/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."}