Step by step - Learn how to use callas products

Command line options for multi-language support

Until the last version of pdfToolbox 9, all reports in a call needed to have the same language, for example --language=en. From the new pdfToolbox 10 onwards, the use of different languages in reports created on the same pdfToolbox run is possible. For example

While six languages are completely localized: English, German, French,Spanish, Italian and Japanese in pdfToolbox 9, it led to a problem of appearance of DictKeys for unknown languages in pdfToolbox reports. In pdfToolbox 10, DictKey mechanism has been extended, which allows customers to add translations to inactive languages and allows creation, maintenance and use of custom dicts with additional strings for any Profiles (or other objects) for active, inactive or any other language. More about custom dicts below:

Custom Dict files

Custom Dict files can be used to add or modify strings that are used in reports. Since pdfToolbox 10.0 it is allowed for custom dicts to cover strings for custom profiles or unknown Dictkeys in a particular language.

Creation of custom dicts

In the following example, a custom dict is created for strings of a non localised language to be added/replaced in a predefined Profile (kfpx). This can be achieved using the command line argument:

On running the profile along with the custom dict set to the XML with overwritten strings and custom language, there is no problem of appearance of DictKeys for unknown languages in pdfToolbox reports: