sys_language 0.1.0

A cross-platform Rust library for detecting system language with preferred language selection and fallback support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[package]
name = "sys_language"
version = "0.1.0"
edition = "2024"
authors = ["Cupnfish", "智普AI"]
description = "A cross-platform Rust library for detecting system language with preferred language selection and fallback support"
license = "MIT"
repository = "https://github.com/cupnfish/sys_language"
readme = "README.md"
keywords = ["language", "locale", "i18n", "system", "cross-platform"]
categories = ["internationalization", "localization", "os"]

[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_Globalization"] }

[target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies]
libc = "0.2"