Skip to main content

L10n

sinew-l10n / sinew_l10n: English and Indonesian for the messages of Sinew's own failures.

Every failure has a message key and an English fallback. This module translates those keys, so an error shown in the app follows the app's language.

The strings are Compose resources, in the module. Resolve a failure's key with a Localizer that reads them, and pass it to displayMessage; your own strings can answer first.

A key with no translation resolves to null, and the English fallback shows.