This library provides basic internationalization capabilities
Documentation
getText :: String -> IO StringSource
getText wraps GNU gettext function. It returns translated string for the input messages. If translated string not found the input string will be returned.
The most common usage of this function is to declare function __:
__ = unsafePerformIO . getText
and wrap all text strings into this function, e.g.
printHello = putStrLn (__ "Hello")
bindTextDomain sets the base directory of the hierarchy containing message catalogs for a given message domain.