keera-hails-i18n-0.8.0: Rapid Gtk Application Development - I18N
Safe HaskellNone
LanguageHaskell2010

Hails.I18N.Language

Description

Install/load the right Gettext files for your chosen language and application.

Copyright : (C) Keera Studios Ltd, 2013 License : BSD3 Maintainer : support@keera.co.uk

Synopsis

Documentation

installLanguage :: String -> IO () Source #

Install the current language using the LC_ALL and LANGUAGE environment variables and other gettext methods. This requires the application's name, and it loads the language from a file called "default-language" in the application's config dir.