c.l.v.d.TranslatableLanguageVocabulary(LanguageVocabulary) : class documentation

Part of canonical.launchpad.vocabularies.dbobjects View In Hierarchy

All the translatable languages known by Launchpad.

Messages cannot be translated into English or a non-visible language. This vocabulary contains all the languages known to Launchpad, excluding English and non-visible languages.

Method __contains__ See IVocabulary.
Method __iter__ See IVocabulary.
Method getTermByToken See IVocabulary.

Inherited from LanguageVocabulary:

Method toTerm See IVocabulary.
Method getTerm See IVocabulary.

Inherited from SQLObjectVocabularyBase (via LanguageVocabulary):

Method __init__ Undocumented
Method searchForTerms Undocumented
Method search Undocumented
Method __len__ Undocumented
Method getQuery Undocumented
Method emptySelectResults Return a SelectResults object without any elements.
def __contains__(self, language):
See IVocabulary.

This vocabulary excludes English and languages that are not visible.

def __iter__(self):
See IVocabulary.

Iterate languages that are visible and not English.

def getTermByToken(self, token):
See IVocabulary.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.