Expand description
Localisation is hard.
Getting your program to work well in multiple languages is a world fraught with edge-cases, minor grammatical errors, and most importantly, subtle things that don’t map over well that you have absolutely no idea are different in other cultures.
Many people are aware of the simpler ones, such as whether to use decimal points or decimal commas, or that the names of the months are different in other languages. But there are also different ways to format dates and times, or variations on what day the week begins. It’s perfectly possible to write your program unaware of how these things have to be changed at all, and that’s why it’s so hard.
Re-exports§
pub use linux::LibCLocaleFactory as SystemLocaleFactory;
Modules§
Structs§
- Composite
Locale Factory - Auxiliary class for creating composing partial implementations of locale factories.
- Invariant
Locale Factory - Factory of invariant locales.
- Numeric
- Information on how to format numbers.
- Time
Traits§
- Locale
Factory - Trait defining how to obtain various components of a locale.
Functions§
- user_
locale_ factory - Return LocaleFactory appropriate for default user locale, as far as it can be determined.