Copy link to clipboard
Copied
Hi
Has anyone managed to set this up?
I have read that I need to change the itrules.xml file inside the DITA folder of the .xts, but I don't have enough knowledge of xml. I can't fully understand what I need to do.
Is there a line that will set all paragraphs as translate="yes" or does it have to be done separately for each paragraph format?
And finally, where in the xml file do I need to add the line?
If anyone can share an example of a working itsrules.xml file with this added I would be very grateful.
Thank you
Copy link to clipboard
Copied
Never heard of that file in conjuction with XLIFF files - where were you seeing it being talked about?
Copy link to clipboard
Copied
Just a google search.
When exporting to xliff the rules are set within the default.xts file. This is a package and can be opened by changing it to a zip file.
I just don't know how to alter the xml files that can be found within!
Copy link to clipboard
Copied
While i have heard about tweaking things in the sts file by the zip extension trick, I haven't read any threads that describe anything needed for doing XLIFF exports/imports. Maybe you need to ping the FM folks - see https://helpx.adobe.com/contact/enterprise-support.other.html#framemaker for your Adobe Support options. I'd recommend using the tcssup@adobe.com e-mail address as it reaches a team dedicated to Technical Communication Suite products including FrameMaker.
Copy link to clipboard
Copied
Hi,
In DITA there is an attribute "translate". I do not know, if this is available for all elements, and I do not know, whether you have to set it for all elements which should be translated.
Possibly this is meant?
Best regards, Winfried
Copy link to clipboard
Copied
For DITA, most defaults are preconfigured. The majority of elements are set to translate="yes" by default. Only a few elements are not translated by default, such as metadata or elements that are explicitly set to translate="no" in the DITA DTD/XSDs, like <codeph> or <codeblock>.
For <p> elements, no additional steps are required. Simply export to XLIFF, and all content will be included unless the translate attribute is not explicitly set to "no" on the <p> element itself or any of its ancestors.
All ITS XML rules are defined in the XTS file that you select when exporting to XLIFF. You can open this file in a ZIP program like 7-Zip. Inside the DITA folder, you'll find all translation rules. To check which elements will not be translated, search for translate="no" in these files.
Additionally, there is an itsrules_overrides.xml file where you can apply any necessary modifications. If anything does not work as expected, please describe the issue with an example—or feel free to reach out via email.
Markus