Page 1 of 1

Microsoft Word transform: Notes, Warnings, Cautions still in English

Posted: Wed Jan 08, 2020 3:59 am
by mdslup
Sometimes I need to transform a ditamap and its topics into a Microsoft Word document.

How do I change the language of the warnings, cautions, and notes? I tried setting the default language to, for example, fr-fr, but this text is still in English.

Re: Microsoft Word transform: Notes, Warnings, Cautions still in English

Posted: Wed Jan 08, 2020 3:17 pm
by Radu
Hi,

The "default.language" parameter does not seem to be taken into account for the DITA to Word output, I added an issue for it:

https://github.com/jelovirt/com.elovirt ... /issues/67

In the meantime you will need to add the "xml:lang='fr-FR'" attribute on the root element for the main map.

Regards,
Radu

Re: Microsoft Word transform: Notes, Warnings, Cautions still in English

Posted: Thu Jan 09, 2020 6:04 am
by mdslup
This worked, thanks