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

Post here questions and problems related to editing and publishing DITA content.
mdslup
Posts: 167
Joined: Tue Mar 06, 2018 1:34 am

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

Post 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.
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
mdslup
Posts: 167
Joined: Tue Mar 06, 2018 1:34 am

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

Post by mdslup »

This worked, thanks
Post Reply