l.t.i.c.IHasCustomLanguageCodes(Interface) : interface documentation

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

A context that can have custom language codes attached.

Implemented by Product and SourcePackage.

Set custom_language_codes Translations for these language codes are re-routed.
Bool has_custom_language_codes Undocumented
Method getCustomLanguageCode Retrieve CustomLanguageCode for language_code.
Method createCustomLanguageCode Create CustomLanguageCode.
Method removeCustomLanguageCode Remove CustomLanguageCode.
custom_language_codes =
Translations for these language codes are re-routed.
has_custom_language_codes =
Undocumented
def getCustomLanguageCode(language_code):
Retrieve CustomLanguageCode for language_code.
Returnsa CustomLanguageCode, or None.
def createCustomLanguageCode(language_code, language):
Create CustomLanguageCode.
Returnsthe new CustomLanguageCode object.
def removeCustomLanguageCode(language_code):
Remove CustomLanguageCode.
Parameterslanguage_codeA CustomLanguageCode object.
API Documentation for Launchpad, generated by pydoctor at 2019-10-21 00:00:15.