Package turbogears :: Package i18n :: Package sogettext

Package sogettext

source code

SQLObject-based version of gettext

Submodules

Functions
 
so_gettext(key, locale=None, domain=None)
SQLObject-based version of gettext.
source code
 
get_so_catalog(domain)
Retrieves all translations for locale and domain from database and stores in thread data.
source code
 
create_so_catalog_tables()
create the tables if needed
source code
 
create_so_catalog(locales, domain)
Creates a message catalog based on list of locales from existing GNU message catalog
source code
 
dump_so_catalogs(locales)
Takes all domains and messages and creates message catalogs
source code
Function Details

so_gettext(key, locale=None, domain=None)

source code 

SQLObject-based version of gettext. Messages are stored in database instead.