Part of lp.translations.scripts
Class | ExportResult | The results of a translation export request. |
Function | generate_translationfiledata | Generate TranslationFileData objects for POFiles/templates in list. |
Function | process_request | Process a request for an export of Launchpad translation files. |
Function | process_queue | Process all requests in the translation export queue. |
TranslationFileData
objects for POFiles/templates in list.
This builds each TranslationFileData
in memory only when it's needed, so
the memory usage for an export doesn't accumulate.
After processing the request a notification email is sent to the requester with the URL to retrieve the file (or the tarball, in case of a request of multiple files) and information about files that we failed to export (if any).