-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Bindings to libintl.h (gettext, bindtextdomain) -- -- Bindings to libintl.h (gettext, bindtextdomain) @package hgettext @version 0.1.2 -- | This library provides basic internationalization capabilities module Text.I18N.GetText -- | 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")
--   
getText :: String -> IO String -- | bindTextDomain sets the base directory of the hierarchy containing -- message catalogs for a given message domain. bindTextDomain :: String -> String -> IO (Maybe String) -- | textDomain sets domain for future getText call textDomain :: String -> IO (Maybe String)