Page 1 of 1

Generate PDF in many languages

Posted: Thu Apr 09, 2026 8:35 pm
by LASSE_MLE
Hello,
Sorry I've not found my answer in the forum, I'm trying to ask it directly!
Assuming that is is possible, how can I generate several PDF in several language from a unique ditamap?
If my ditamap looks like this

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map id="SOPName">
    <title>SOPName</title>

    <topicref href="topic1.dita" xml:lang="en-US"/>
    <topicref href="topic1_FR.dita" xml:lang="fr-FR"/>
    <topicref href="topic1_JA.dita" xml:lang="ja-JP"/>

    <topicref href="topic2.dita" xml:lang="en-US"/>
    <topicref href="topic2_FR.dita" xml:lang="fr-FR"/>
    <topicref href="topic2_JA.dita" xml:lang="ja-JP"/>
</map>
Is it possible to create a scenario to generate a French version of this SOP with only the topic that contains xml:lang="fr-FR"? And another scenario to generate a Japanese version?
Thank you in advance for your help!
ML