l.t.i.w.ITranslationGroup(IHasOwner) : interface documentation

Part of lp.translations.interfaces.webservice View In Hierarchy

A TranslationGroup.
Int id Undocumented
Summary summary A single-paragraph description of the
Datetime datecreated Undocumented
PublicPersonChoice owner The owner's IPerson
Attribute translators The set of translators for this group.
Attribute projects The projects for which this group translates.
Attribute products The projects to which this group is directly appointed as a translator. There may be other projects that are part of project groups for which the group also translates.
Attribute distributions The distros for which this group translates.
URIField translation_guide_url The URL of the generic translation instructions followed by this particular translation group. This should include team policies and recommendations, specific instructions for any non-standard behaviour and other documentation.Can be any of http://, https://, or ftp://.
Method query_translator Retrieve a translator, or None, based on a Language
Method remove_translator Remove the translator for this language from the group.
Method add Add a new object.
Attribute top_projects Most relevant projects using this translation group.
Attribute number_of_remaining_projects Count of remaining projects not listed in the top_projects.
Method __getitem__ Retrieve the translator for the given language in this group.
Method fetchTranslatorData Fetch translators and related data.
Method fetchProjectsForDisplay Fetch `Product`s using this group, for display purposes.
Method fetchProjectGroupsForDisplay Fetch `Project`s using this group, for display purposes.
Method fetchDistrosForDisplay Fetch `Distribution`s using this group, for display purposes.
id =
Undocumented
summary =
A single-paragraph description of the group. This will also be displayed in most translation group listings.
datecreated =
Undocumented
owner =
The owner's IPerson
translators =
The set of translators for this group.
projects =
The projects for which this group translates.
products =
The projects to which this group is directly appointed as a translator. There may be other projects that are part of project groups for which the group also translates.
distributions =
The distros for which this group translates.
translation_guide_url =
The URL of the generic translation instructions followed by this particular translation group. This should include team policies and recommendations, specific instructions for any non-standard behaviour and other documentation.Can be any of http://, https://, or ftp://.
def query_translator(language):
Retrieve a translator, or None, based on a Language
def remove_translator(language):
Remove the translator for this language from the group.
def add(content):
Add a new object.
top_projects =
Most relevant projects using this translation group.
number_of_remaining_projects =
Count of remaining projects not listed in the top_projects.
def __getitem__(language_code):
Retrieve the translator for the given language in this group.

This is used for navigation through the group.

def fetchTranslatorData():
Fetch translators and related data.

Prefetches display-related properties.

ReturnsA result set of (Translator, Language, Person), ordered by language name in English.
def fetchProjectsForDisplay(user):
Fetch `Product`s using this group, for display purposes.

Prefetches display-related properties.

:return: A result set of `Product`, ordered by display name.
def fetchProjectGroupsForDisplay():
Fetch `Project`s using this group, for display purposes.

Prefetches display-related properties.

:return: A result set of `Project`, ordered by display name.
def fetchDistrosForDisplay():
Fetch `Distribution`s using this group, for display purposes.

Prefetches display-related properties.

:return: A result set of `Distribution`, ordered by display name.
API Documentation for Launchpad, generated by pydoctor at 2019-09-23 00:00:04.