Part of lp.translations.interfaces.translationexporter View In Hierarchy
Method | getExportersForSupportedFileFormat | Return `ITranslationFormatExporter`s that can export file_format. |
Method | getExporterProducingTargetFileFormat | Return the ITranslationFormatExporter that generates file_format. |
Method | exportTranslationFiles | Return an IExportedTranslationFile representing the export. |
Return `ITranslationFormatExporter`s that can export file_format. :param file_format: The source `ITranslationFileFormat` format for the translation file we want to export. :return: A list of `ITranslationFormatExporter` objects that are able to handle exports for translation files that have file_format as their source format.
ITranslationFormatExporter
that generates file_format.Parameters | file_format | An ITranslationFileFormat entry that we want to
get its exporter class. |
Returns | An ITranslationFormatExporter object that handles
file_format exports or None if there is no handler available for
it. |
IExportedTranslationFile
representing the export.Parameters | translation_files | A sequence of ITranslationFileData objects
to export. |
target_format | Optional TranslationFileFormat to export
to. Defaults to the files' native formats. | |
ignore_obsolete | A flag indicating whether obsolete messages should be exported. | |
force_utf8 | A flag indicating whether the export should be forced to use UTF-8 encoding. This argument is only useful if the file format allows different encodings. | |
Returns | An IExportedTranslationFile representing the export. |