l.t.v.TranslatableLanguageVocabulary(LanguageVocabulary) : class documentation

Part of lp.translations.vocabularies 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 emptySelectResults Return a SelectResults object without any elements.

Inherited from FilteredVocabularyBase (via LanguageVocabulary, SQLObjectVocabularyBase):

Method __getattribute__ Undocumented
Method supportedFilters Undocumented
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 2019-05-24 00:00:04.