localization

Library for localization (l10n)

Latest on Hackage:1.0.1.20180226

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.

GPL-3.0-only licensed and maintained by Julien Moutinho

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).

For examples, see the source code of Data.Locale.Tutorial.