Std.App.Locale
23 public declarations
- about
&Std.App.Locale.Catalogue -> &Std.App.Locale.Locale -> Str -> Int -> StrWhat a program says for a key about a number of things.
- catalogue
Std.App.Locale.Locale -> Std.App.Locale.CatalogueA catalogue written in one language.
- Catalogue
What a program can say, in each language it says it.
- complete
&Std.App.Locale.Catalogue -> &Std.App.Locale.Locale -> BoolWhether a language says everything the reference does.
- fallbacks
&Std.App.Locale.Locale -> &Std.App.Locale.Locale -> Array[Std.App.Locale.Locale]The locales to try, in order: the one asked for, the language without its
- fill
Str -> &Array[(Str, Str)] -> StrA message's parts filled in.
- filled
&Std.App.Locale.Catalogue -> &Std.App.Locale.Locale -> Str -> &Array[(Str, Str)] -> StrThe same, with the parts it leaves open filled in.
- keys
&Std.App.Locale.Catalogue -> Array[Str]The keys the reference language names.
- language
Str -> Std.App.Locale.LocaleA locale with no place.
- languages
&Std.App.Locale.Catalogue -> Array[Str]The languages a catalogue says anything in.
- locale
Str -> Str -> Std.App.Locale.LocaleA locale from its parts.
- Locale
A language, and the place where that matters.
- missing
&Std.App.Locale.Catalogue -> &Std.App.Locale.Locale -> Array[Str]The keys one language is missing against the one the messages were written
- negotiate
Str -> &Array[Std.App.Locale.Locale] -> Std.App.Locale.Locale -> Std.App.Locale.LocaleThe locale a request asked for, chosen from the ones a program has.
- parse
Str -> Std.App.Locale.LocaleA locale read from how one is written, as `en`, `en-GB`, or `en_GB`.
- placed
&Std.App.Locale.Locale -> BoolWhether a locale names a place.
- Quantity
How many of something a message is about.
- quantityFor
&Std.App.Locale.Locale -> Int -> Std.App.Locale.QuantityWhich form a language uses for a number.
- render
&Std.App.Locale.Locale -> StrHow a locale is written.
- Saying
What a catalogue can say, written one message at a time.
- says
&Std.App.Locale.Catalogue -> &Std.App.Locale.Locale -> Str -> BoolWhether a language says anything at all for a key.
- text
&Std.App.Locale.Catalogue -> &Std.App.Locale.Locale -> Str -> StrWhat a program says for a key, in the language it can.
- withoutPlace
&Std.App.Locale.Locale -> Std.App.Locale.LocaleThe same language without its place, which is the first thing to fall back
