Category | Import Converter |
---|---|
Purpose | Enables Translate5 to import other file formats as just bilingual files. |
Bootstrap Class | editor_Plugins_Okapi_Init |
Type | Core 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.
...
Original Documentation: http://okapiframework.org/wiki/index.php?title=Longhorn#Download_and_Installation.
Download okapi from https://bintray.com/okapi/Distribution/Longhorn
...
Try to create a Okapi project via the integrated web front-end accessible via the configured Okapi URL (see readme.html, too: {localhost}/okapi-longhorn/okapi-longhorn-sample-js-client.html).
Check the tomcat for messages like:
...
Translate5 Configuration of the Okapi Plug-In
Config name | Values | Default | Description |
---|---|---|---|
runtimeOptions.plugins.Okapi.api.url | string | Url used for Okapi api | |
runtimeOptions.plugins.Okapi.tikal.executable | string | 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 | integer | 3 | Max parallel running workers of the Okapi worker |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
-- activate plug-in (be careful and watch, if the active plug-ins in the SQL match your needs) UPDATE `Zf_configuration` SET `value` = ["editor_Plugins_NoMissingTargetTerminology_Bootstrap","editor_Plugins_Transit_Bootstrap","editor_Plugins_SegmentStatistics_Bootstrap","editor_Plugins_TermTagger_Bootstrap","editor_Plugins_MatchResource_Init","editor_Plugins_ChangeLog_Init", "editor_Plugins_Okapi_Init"] WHERE `name` = 'runtimeOptions.plugins.active'; -- configure Okapi URL UPDATE `Zf_configuration` SET `value` = "http://localhost:8080/okapi-longhosrn/" WHERE `name` = 'runtimeOptions.plugins.Okapi.api.url'; |
...