use-locale-match
Small locale preference and fallback primitives for RustUse.
Example
use ;
assert_eq!;
assert_eq!;
Scope
- Build simple locale fallback chains.
- Match one requested locale against available locale tags.
- Normalize locale tags before comparison.
Non-goals
- HTTP framework integration.
- Full Accept-Language parsing.
- Translation catalogs.
- Message formatting.
- CLDR likely-subtag matching.
License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license