l.t.i.l.ILanguagePackSet(Interface) : interface documentation

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

Language pack store set.
Method addLanguagePack Associate an uploaded file as a language pack for a distroseries.
def addLanguagePack(distroseries, file_alias, type):
Associate an uploaded file as a language pack for a distroseries.
ParametersdistroseriesThe IDistroSeries associated from where this language pack was exported.
file_aliasAn ILibraryFileAlias pointing to the librarian entry storing the language pack we want to register.
typeThe kind of LanguagePackType for this language pack.
ReturnsAn ILanguagePack representing the given language pack.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.