Library for localization (l10n)
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
This is a library to manage localization (l10n) of messages according to some (builtin or user-defined) locales.
The type system ensures that each message has a localization for each of the wanted locales.
Messages can be declared using a data type or a type class, and then rendered to the wanted output type, using localize (resp. loqualize).
localize
loqualize
For examples, see the source code of Data.Locale.Tutorial.
Data.Locale.Tutorial