l.t.u.g.GettextPOChangedExporter(GettextPOExporterBase) : class documentation

Part of lp.translations.utilities.gettext_po_exporter View In Hierarchy

Support class to export changed Gettext .po files.
Method __init__ Undocumented
Method _makeExportedHeader Create a header for changed PO files.

Inherited from GettextPOExporterBase:

Method exportTranslationMessageData See ITranslationFormatExporter.
Method exportTranslationFile See ITranslationFormatExporter.
Method _encode_file_content Try to encode the file using the charset given in the header.
def __init__(self, context=None):
Undocumented
def _makeExportedHeader(self, translation_file):
Create a header for changed PO files. This is a reduced header containing a warning that this is an icomplete gettext PO file. :return: The header as a unicode string.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.