Package turbogears :: Package toolbox :: Package admi18n :: Class Internationalization
[hide private]

Class Internationalization

source code


I18N administration tool.

Collect your strings, add and manage locales, edit and compile your catalogs.


Version: 0.1

Author: Ronald Jaramillo

Copyright: Copyright 2005 Ronald Jaramillo

License: MIT

Instance Methods [hide private]
 
__init__(self, currentProject=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_languages(self) source code
 
remove_locale(self, code) source code
 
compile_catalogs(self, codes) source code
 
merge_catalogs(self, codes) source code
 
add_locale(self, code) source code
 
po_upload(self, myFile, code, *_decorator__varargs, **_decorator__kwargs) source code
 
google_translate(self, code, from_lang, to_lang, args) source code
 
update_catalog(self, code, msg_id, msg_text, *_decorator__varargs, **_decorator__kwargs) source code
 
po_view(self, code, sort_by=None, dir=None, from_lang=None, to_lang=None, *_decorator__varargs, **kargs) source code
 
language(self, code, *_decorator__varargs, **_decorator__kwargs) source code
 
language_list(self, *_decorator__varargs, **_decorator__kwargs) source code
 
language_management(self, add=None, rem=None, compile=None, merge=None, *_decorator__varargs, **_decorator__kwargs) source code
 
language_for_code(self, code) source code
 
locales_directory(self) source code
 
project_locales(self) source code
 
project_files(self) source code
 
collect_string_for_files(self, files) source code
 
pot_message_file(self) source code
 
lang_file(self, code, *_decorator__varargs, **_decorator__kwargs) source code
 
string_collection(self, files=[], *_decorator__varargs, **_decorator__kwargs) source code
 
index(self, *_decorator__varargs, **_decorator__kwargs) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  __label__ = 'admi18n'
  __email__ = 'ronald@checkandshare.com'
  baseTemplate = 'turbogears.toolbox.admi18n'
  languages = None
  icon = '/tg_static/images/admi18n.png'
  need_project = True

Inherited from controllers.RootController: accesslog, is_app_root, msglog, msglogfunc

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, currentProject=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)