Hello,
I am new to Trados Studio and am not familiar with all of the intricacies of the software yet, so chances are I am missing something obvious, but I am trying to solve an issue where an XML file with embedded content and CDATA sections does not apply segmentation after each full stop.
I am having to use the Multilingual XML addon due to how the translation targets are set up in the XML file. So the file type is determined by that.
Is there a way I can add segmentation rules to this filetype or in general, which would allow for the sentences to be segmented after each complete sentence, or full stop?
Here is what the file looks like in Trados and a section of the XML.
<MODULEMAPPING><![CDATA[]]></MODULEMAPPING> <PAGEMAPPING><![CDATA[]]></PAGEMAPPING> <TEXT><![CDATA[<span class="dki-text-style-bold" id="yui-gen1289">What is sustainability?</span>]]></TEXT> <TRANSLATION><![CDATA[]]></TRANSLATION> <TYPE><![CDATA[elementMeta]]></TYPE> </CONTENT> <CONTENT CF_TYPE='query'> <COURSEMAPPING><![CDATA[]]></COURSEMAPPING> <ELEMENTMAPPING><![CDATA[Content]]></ELEMENTMAPPING> <ID><![CDATA[72310]]></ID> <LASTMODIFIED><![CDATA[]]></LASTMODIFIED> <LEARNINGOBJECTMAPPING><![CDATA[]]></LEARNINGOBJECTMAPPING> <MODULEMAPPING><![CDATA[]]></MODULEMAPPING> <PAGEMAPPING><![CDATA[]]></PAGEMAPPING> <TEXT><![CDATA[Sustainability focuses on meeting the needs of the present without compromising the ability of future generations to meet their own needs (Brundtland Report, 1987).<br /><br />To be sustainable, businesses must consider environmental, social and economic impacts in the long-term when making business decisions, rather than only focusing on short-term gains. This involves thinking more holistically beyond immediate considerations of profit and loss.<br /><br />Sustainability requires us to manage environmental, social and economic risks and opportunities for long-term value creation, securing business longevity and building ongoing business success. It is at the core of our business operations, our purpose and our strategy for growth.<br /><br />A focus on sustainability enhances the reputation of our brand with our customers, investors and in our local communities and ensures our business continues to be resilient in the face of global megatrends, such as climate change and resource scarcity.]]></TEXT> <TRANSLATION><![CDATA[]]></TRANSLATION> <TYPE><![CDATA[elementMeta]]></TYPE> </CONTENT> <CONTENT CF_TYPE='query'> <COURSEMAPPING><![CDATA[]]></COURSEMAPPING> <ELEMENTMAPPING><![CDATA[Content]]></ELEMENTMAPPING> <ID><![CDATA[72302]]></ID> <LASTMODIFIED><![CDATA[]]></LASTMODIFIED> <LEARNINGOBJECTMAPPING><![CDATA[]]></LEARNINGOBJECTMAPPING>
If more information is needed to help with this, please let me know which and I'll try to provide that.
Thank you.
Moved the sample code into a code box.
[edited by: Paul at 1:25 PM (GMT 0) on 24 Jan 2022]