Page tree
Skip to end of metadata
Go to start of metadata

With Okapi Rainbow anyone can write custom file filters for special file formats.

For example for special XML dialects, special kind of txt-files - or to exclude for example all cells with red font color from an Excel file on import time.

When importing a zip import package into translate5, you optionally can add a bconf-file (batch configuration file) from Okapi Rainbow to it on the root level of the zip file. Then translate5 will use this bconf file for parsing your imported documents instead of the default one.

The batch configuration file is a bconf-file as exported from Okapi Rainbow. With Okapi Rainbow you can create your own custom file filters, for example for special kind of xml or txt-files. If you use the Okapi plugin for translate5, you can seemlessly use Okapi in the background to convert files on import time - and convert them back on export (without the user having to touch Okapi). Please see details on the translate5 file format page and on the translate5 Okapi Plug-in page.

Every translate5 user is invited to share her/his special filter creations below this page here. Just log in and create a sub-page to this page here.

  • No labels

2 Comments

  1. When I install okapi_default_import.bconf in Okapi Rainbow and export it, and reinstall it, the extensions-mapping.txt is changed, specifically .sdlxliff okf_xliff@translate5-sdl is lost. Any hint on this? 

  2. wordsmith yes. Unfortunately Okapi Rainbow defines its extension handling based on the files you have in your Okapi Rainbow file list.

    For every file extension mapping that you want to have in your exported bconf you have to have a file with this file extension in your file list and point this file to the corresponding Okapi setting you want to use for this file extention.

    Unfortunately manupulating bconf files in Rainbow is not trivial - and this only because the usability of Rainbow is very bad. Technically everything you need is there.

    We would love to integrate the generation of bconf files directly in translate5 and will do it, as soon as we have the funding for it.