Difference between revisions of "Acquiring Translated Files"

From Lingoport Wiki
Jump to: navigation, search
(FTP)
(Lingotek)
Line 12: Line 12:
 
For Lingotek, a callback from the Lingotek workbench to Jenkins <code>LingotekCallback</code> lets the system know some files are ready for download. The files are retrieved from Lingotek.
 
For Lingotek, a callback from the Lingotek workbench to Jenkins <code>LingotekCallback</code> lets the system know some files are ready for download. The files are retrieved from Lingotek.
   
In case all the files were not correctly retrieved from Lingotek (network problem for instance), <code>CheckCallbacks</code> will sweep for files to be retrieved later on.
+
In case all the files were not correctly retrieved from Lingotek (network problem for instance), <code>CheckCallbacks</code> will sweep for files to be retrieved later on. See [[Flow and Jobs]] for more information about Lingotek Jenkins jobs.
   
 
The files retrieved from Lingotek are placed under a staging directory:
 
The files retrieved from Lingotek are placed under a staging directory:

Revision as of 17:13, 28 April 2016

Translated files are first acquired from the translation vendors.

FTP

For FTP, the files are read from the ftp.in.location.path configuration in config_l10n_vendor.properties. The files found in the FTP endpoint are moved to

 Lingoport_data/LRM/download/ftp/ 

They must conform to the zip structure and naming convention.

At that point, the files are ready to be imported. The Jenkins FTPDownload is in charge of that job. See Flow and Jobs for more information about the FTP Jenkins jobs.

Lingotek

For Lingotek, a callback from the Lingotek workbench to Jenkins LingotekCallback lets the system know some files are ready for download. The files are retrieved from Lingotek.

In case all the files were not correctly retrieved from Lingotek (network problem for instance), CheckCallbacks will sweep for files to be retrieved later on. See Flow and Jobs for more information about Lingotek Jenkins jobs.

The files retrieved from Lingotek are placed under a staging directory:

 Lingoport_Data/LRM/download/lingotek

Worldserver

For Worldserver, the files are read from the worldserver.in.location.path configuration in config_l10n_vendor.properties. The files found in the FTP endpoint are moved to

 Lingoport_data/LRM/download/worldserver/ 

They must conform to the zip structure and naming convention.

At that point, the files are ready to be imported. The Jenkins WSDownload is in charge of that job.

Follow up

In both cases, the files are then moved to this location:

 Lingoport_Data/LRM/stating/importkits/<lingotek|ftp>/<GroupName>/<ProjectName>/TRANSLATED_KIT_x_loc

and are ready to be checked and moved to the repository by the import job.