Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

CategoryImport Converter

Purpose

Enables Translate5 to import other file formats as just bilingual files.

Bootstrap Class

editor_Plugins_Okapi_Init
TypeCore plug-in (delivered with translate5 core)

 

Description

The Okapi plugin enables you to use Okapi Longhorn REST server for converting native source file formats like MS Office 2007, Indesign, HTML, XML, etc. to Xliff and thus directly import these native file formats in translate5.

The end user of translate5 has no contact with Okapi - everything is handled by translate5 on import and re-export after translation.

Here you find the list of all file formats supported by Okapi and thus supported by translate5 through the translate5 Okapi plugin.

Additional installation instructions

Install a tomcat server and get up Okapi there.

The data directory for Okapi must be created manually. Try to create a Okapi project via the integrated web front-end accessible via the configured Okapi URL.

Check the tomcat for messages like:

INFO: The default working directory for Okapi Longhorn will be used, because no other was specified: /usr/share/tomcat7/Okapi-Longhorn-Files

 Ensure that the directory mentioned there exists and is writeable for tomcat.

If you get the following errors in the tomcat log file: "net.sf.okapi.common.exceptions.OkapiException: SRX file not found" the reason could be missing rights on the above folder.

chmod 777 the Okapi-Longhorn-Files folder and test the import again.

Configuration of the Okapi Plug-In

Config nameValuesDefaultDescription
runtimeOptions.plugins.Okapi.api.urlstring Url used for Okapi api
runtimeOptions.plugins.Okapi.tikal.executablestring 

The absolute path to the tikal executable, no usable default can be given so is empty and must be configured by the user!

runtimeOptions.worker.editor_Plugins_Okapi_Worker.maxParallelWorkers

integer3Max parallel running workers of the Okapi worker
  • No labels