Module kailua_diag::message [] [src]

Message localization support.

The current localization support in Kailua is quite rudimentary; it needs lots of custom types to get the correct message in just two languages.

Structs

Locale

The message locale.

Localized

A helper type for formatting the localized text.

Traits

Localize

Any type that can be formatted into a localized text.

Functions

get_message_locale

Returns a default locale for the current environment, if any.