l10n.km 427 B

1234567891011121314
  1. type Locale {
  2. /// Primary language.
  3. language: LanguageCode,
  4. /// Timezone.
  5. timezone: time::Zone,
  6. /// Alternative language, used when primary language not available.
  7. alternative: Maybe[LanguageCode]
  8. };
  9. /// Unix language code with the format "ll_CC", in which
  10. /// "ll" is an ISO 639-1 language code (lower case) and
  11. /// "CC" is an ISO 3166-1 country code (upper case).
  12. type LanguageCode String;