Package turbogears :: Package i18n

Source Code for Package turbogears.i18n

 1  """TurboGears internationalization/localization module. 
 2  """ 
 3   
 4  from turbogears.i18n.tg_gettext import (gettext, ngettext, install, 
 5      is_locale_supported, lazy_gettext, lazy_ngettext, plain_gettext) 
 6   
 7  from turbogears.i18n.utils import (get_locale, get_accept_languages, 
 8      set_session_locale, google_translate) 
 9   
10  from turbogears.i18n.format import (get_countries, get_country, 
11      get_month_names, get_abbr_month_names, get_weekday_names, 
12      get_abbr_weekday_names, get_languages, format_date, format_number, 
13      format_decimal, format_currency, parse_number, parse_decimal) 
14