Acrolinx natively supports the ACTIF and OLIF formats. You can also use transformation style sheets to import or export terms in custom XML-based formats. The main advantage of XML-based formats is that there are fewer mapping steps required when importing terms in the term import wizard.
ACTIF (Acrolinx Comprehensive Term Interchange Format) is the native terminology exchange format for the Acrolinx Terminology Manager. ACTIF has a similar structure to most standard terminology exchange formats such as TBX (Term Base eXchange). You can use the ACTIF format to exchange terminology between different installations of Acrolinx.
You can also import or export almost any other XML-based terminology file by using transformations to convert the file into the ACTIF format. You Acrolinx project consultant can help you create a style sheet that transforms your preferred XML format into ACTIF.
OLIF (Open Lexicon Interchange Format) is an open standard for lexical and terminological data encoding and is implemented as an XML Schema and an XML DTD.
A transformation is a style sheet that does the following:
-
Converts an XML-based terminology file into the ACTIF or OLIF format during the import process.
-
Converts an ACTIF or OLIF file into another XML-based terminology file during the export process.
Transformations are configured based on your data model and individual file transfer requirements and delivered with your guidance package. If your data model changes, you need to adjust the transformation files to reflect these changes and to ensure a correct export of the data model. You might do this, for example, after you add or rename custom fields.
If you’re not sure which transformation to use, or there are no transformations available for your file format, contact your Acrolinx administrator.
You can use transformation style sheets to import or export XML files that aren’t in the supported ACTIF or OLIF formats. If you’ve created a new transformation style sheet or have received a new transformation style sheet from your Acrolinx project consultant, you can update your installation.
Tip
If you're on an Acrolinx Private Cloud instance and are interested in these configurations, contact us and we'll set them for you!
By default, the transformation style sheets are in the data
directory:
<config directory>/data/transformation
You can also specify an alternative location by using the core server property:
terminologyManager.transfer.transformationPath
The default value is:
terminologyManager.transfer.transformationPath=../../data/transformation
This path is relative to the directory <config directory>/server/bin
.
To add a new transformation style sheet, follow these steps:
Unless you've configured an alternative storage location, copy the style sheet to the following directory: <config directory>/data/transformation
To do this, open your command line and enter the following command:
kubectl cp -n acrolinx acrolinx-core-server-0:/opt/guidance/<path> /home/acrolinx/config/<path>
For example, your command might look like this:
kubectl cp -n acrolinx acrolinx-core-server-0:/opt/guidance/data/transformation/stylesheet.xml <config directory>/data/transformation