![]() |
DITA Localization and Internationalization |
Darwin Information Typing Architecture (Wikipedia) is an XML-based open standard that is used for authoring and publishing. Soluling localization tool and service support DITA.
The end of the document contains links to get the full source code of the samples. After reading this document, we recommend reading a tutorial about how to use Soluling.
If you want to localize a DITA file, it means that you most likely have text data in your DITA file. Take a look at the following simple DITA file.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <topic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="topic" xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd:1.2">
<title>Sample</title> <body> <p>This is a sample.</p> </body> </topic>
You can find the file in <data-dir>\Samples\DITA\Simple\Sample.dita. The file has a title element that contains the English text: "Sample". In addition, the file contains a p element that contains English text: "This is a sample". These need to be translated. If we translate the above file into Finnish, we will get:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <topic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="topic" xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd:1.2">
<title>Esimerkki</title> <body> <p>Tämä on esimerkki.</p> </body> </topic>
The structure of the Finnish DITA file is identical to the structure of the original English DITA file; only the text in the title and p elements has been translated into Finnish.
Soluling has a visual preview. It shows the localized file so you can check how the localized item looks. To use the feature, you need to install DITA Open Toolkit and specify the path in DITA options (Options | Platforms | DITA).

GitHub and <data-dir>\Samples\Dita contain the following DITA sample directories:
| Directory | Description |
|---|---|
| Sample | A simple DITA file. Study this first. |
You can configure how to localize your DITA file or data by selecting the item in the project tree, right-clicking, and choosing the Options menu. A source dialog appears that lets you edit the options. This source uses the following option sheets.
Read more about other document files such as DITA, Help+Manual, HTML, HTML Help, LaTeX, Word, PowerPoint, Markdown, RTF, and PDF files.