Part of lp.translations.scripts
| Function | iter_sourcepackage_translationdomain_mapping | Return an iterator of tuples with sourcepackagename - translationdomain |
| Function | export | Return a pair containing a filehandle from which the distribution's |
| Function | export_language_pack | Export a language pack for the given distribution series. |
With the output of this method we can know the translationdomains that a sourcepackage has.
| Parameters | distroseries | The IDistroSeries we want to export from. |
| component | The component name from the given distribution series. | |
| update | Whether the export should be an update from the last export. | |
| force_utf8 | Whether the export should have all files exported as UTF-8. | |
| logger | A logger object. |
| Parameters | distribution_name | Name of the distribution we want to export the language pack from. |
| series_name | Name of the distribution series we want to export the language pack from. | |
| logger | Logger object. | |
| component | The component for the given distribution series. This will be used as a filtering option when selecting the files to export. | |
| force_utf8 | A flag indicating whether all files exported must be force to use the UTF-8 encoding. | |
| output_file | File path where this export file should be stored, instead of using Librarian. If '-' is given, we use standard output. | |
| Returns | The exported language pack or None. | |