Logo Search packages:      
Sourcecode: ibid version File versions  Download package

ibid::plugins::languages::Translate Class Reference

Inheritance diagram for ibid::plugins::languages::Translate:

ibid::plugins::Processor

List of all members.


Detailed Description

Translates a phrase using Google Translate.

Definition at line 131 of file languages.py.


Public Member Functions

def __init__
def __new__
def language_code
def languages
def process
def setup
def shutdown
def translate
def translation_chain

Public Attributes

 name

Static Public Attributes

 addressed = True
dictionary alt_lang_names
tuple api_key = Option('api_key', 'Your Google API Key (optional)', None)
 autoload = True
tuple chain_length = IntOption('chain_length', 'Maximum length of translation chains', 10)
tuple dest_lang = Option('dest_lang', 'Destination language when none is specified', 'english')
tuple event_types = (u'message',)
string feature = 'translate'
dictionary lang_names
string LANG_REGEX = '|'
int priority = 0
 processed = False
tuple referer = Option('referer', 'The referer string to use (API searches)', default_referer)

Private Member Functions

def _translate

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index