Difference between revisions of "L10n Vendors"

From Lingoport Wiki
Jump to: navigation, search
(Supported L10n Vendors)
(Lingotek)
Line 49: Line 49:
   
 
==Lingotek==
 
==Lingotek==
  +
To choose FTP as the vendor, uncomment the <code>l10n.vendor=lingotek</code> in the config_l10n_vendor.properties file.
  +
  +
The information that is needed to upload the files to be translated as well as retrieve translated files is:
  +
<pre>
  +
#Lingotek Attributes
  +
#Contains the host URL and api request formats
  +
lingotek.api.hosturl=https://cms.lingotek.com
  +
#Contains the ids for community, workflow and access token
  +
lingotek.api.id.access.token=d3488f82-cd29-3535-8a8c-48039109d0ac
  +
lingotek.api.id.community=af5ab0bb-8d72-46cd-b04a-1b2c72605798
  +
lingotek.api.id.workflow=f613cc9c-24b9-4bdc-b315-4bccc9c1ee59
  +
#Example callbackURL - replace job name (lingotek) with actual Jenkins job name
  +
lingotek.api.callbackurl=http://jenkins.company.com:8080/buildByToken/buildWithParameters?job=LingotekCallback&token=LINGOSQUARE&
  +
#{0} is the access.token
  +
lingotek.api.bearer=Bearer {0}
  +
</pre>
   
 
==Worldserver==
 
==Worldserver==

Revision as of 20:18, 28 April 2016

Supported L10n Vendors

Currently, LRM supports 3 paths for sending files to be translated. They are:

  • FTP
  • Lingotek
  • Worldserver

The type of L10n Vendor is defined in the config_l10n_vendor.properties that can exist at either the group or project level. See Group Configuration Files

The default location of the config_l10n_vendor.properties file is at the group level. The default settings do not define a vendor so that an error will occur when prepping a kit, forcing the user to chose a vendor. The global L10n Vendor attributes are:

  • l10n.vendor=lingotek - uncomment if using Lingotek
  • l10n.vendor=worldserver - uncomment if using Worldserver
  • l10n.vendor=ftp - uncomment if using FTP
  • l10n.vendor.nonsupported.extensions - a vendor may not support a specific extension such as .json. Enter any extensions that are not supported by the vendor but are supported by LRM. See LRM Fixing Issues for LRM supported extensions. An error will occur if there is no conversion protocol for a non-supported extension.

Example file:

#Default to 'no vendor defined'
#l10n.vendor=lingotek
#l10n.vendor=worldserver
#l10n.vendor=ftp

l10n.vendor.nonsupported.extensions=

FTP

To choose FTP as the vendor, uncomment the l10n.vendor=ftp in the config_l10n_vendor.properties file.

The information that is needed to upload the files to be translated as well as retrieve translated files is:

#FTP Attributes
## FTP inbound attributes for import kit files
ftp.in.host=
ftp.in.location.path=
ftp.in.password=
ftp.in.port=
#SSH, SSL or empty
ftp.in.protocol=
ftp.in.username=
# FTP outbound attributes for prep kit files
ftp.out.host=
ftp.out.location.path=
ftp.out.password=
ftp.out.port=
ftp.out.protocol=
ftp.out.username=

Lingotek

To choose FTP as the vendor, uncomment the l10n.vendor=lingotek in the config_l10n_vendor.properties file.

The information that is needed to upload the files to be translated as well as retrieve translated files is:

#Lingotek Attributes
#Contains the host URL and api request formats
lingotek.api.hosturl=https://cms.lingotek.com
#Contains the ids for community, workflow and access token
lingotek.api.id.access.token=d3488f82-cd29-3535-8a8c-48039109d0ac
lingotek.api.id.community=af5ab0bb-8d72-46cd-b04a-1b2c72605798
lingotek.api.id.workflow=f613cc9c-24b9-4bdc-b315-4bccc9c1ee59
#Example callbackURL - replace job name (lingotek) with actual Jenkins job name
lingotek.api.callbackurl=http://jenkins.company.com:8080/buildByToken/buildWithParameters?job=LingotekCallback&token=LINGOSQUARE&
#{0} is the access.token
lingotek.api.bearer=Bearer {0}

Worldserver