Trados 2024 removing line breaks in exported XML file - How can i fix this

I'm using Trados Studio 2024 - 18.0.0.1013, we are experiencing different behaviors from Trados 2022 when exporting files.
Here, i've attached a diff of the changes and Trados 2024 has removed the line breaks after and before the comments. I set the entities to Always preserve but it does not work.

Is there a way to have Trados keeping things tidy. I only want to see the changes, not extra changes irrelevant to the product update. 

Side-by-side comparison of code diffs showing removal of line breaks around comments in an XML file.
English

Code snippet with highlighted changes, including translations and comments about shortcut icons and call blocking.

Screenshot of Trados Studio project template settings with 'Always preserve' selected for whitespace in content.

emoji
Parents
  • "Probability score": 0.6

    "Question improvement suggestion": Please provide more details about the steps you took before encountering the issue, and if there were any error messages displayed. Also, it would be helpful to know if there were any recent changes to your system or software.

    In the meantime, based on the information you have provided, here is a suggested answer to your question:

    Hello,

    Based on your description, it seems like you're having issues with line breaks being removed in the exported XML file when using Trados Studio 2024. This could be due to a number of reasons, but let's try a few things to resolve this:

    Step 1: Check your settings in Trados Studio. Go to File > Options > File Types > XML > XML Settings. Make sure that 'Preserve whitespace' is checked. This should help in maintaining the line breaks.

    Step 2: If the issue persists, you might want to check the XML file type settings. Go to File > Options > File Types > XML. Under the 'Tag Protection' section, ensure that 'Protect all tags' is selected.

    Step 3: If the above steps don't work, you might want to consider using a different XML editor to check if the issue persists. This can help determine if the issue is with Trados Studio or the XML file itself.

    Please note that these are general troubleshooting steps and might not resolve your issue completely. If the problem persists, more information would be needed to provide a more accurate solution.

    I hope this answer addressed your question. If not, please reject the answer, add the question improvement suggestion information, and click the RWS Community AI checkbox on the right to try again.

    RWS Community AI

    emoji
Reply
  • "Probability score": 0.6

    "Question improvement suggestion": Please provide more details about the steps you took before encountering the issue, and if there were any error messages displayed. Also, it would be helpful to know if there were any recent changes to your system or software.

    In the meantime, based on the information you have provided, here is a suggested answer to your question:

    Hello,

    Based on your description, it seems like you're having issues with line breaks being removed in the exported XML file when using Trados Studio 2024. This could be due to a number of reasons, but let's try a few things to resolve this:

    Step 1: Check your settings in Trados Studio. Go to File > Options > File Types > XML > XML Settings. Make sure that 'Preserve whitespace' is checked. This should help in maintaining the line breaks.

    Step 2: If the issue persists, you might want to check the XML file type settings. Go to File > Options > File Types > XML. Under the 'Tag Protection' section, ensure that 'Protect all tags' is selected.

    Step 3: If the above steps don't work, you might want to consider using a different XML editor to check if the issue persists. This can help determine if the issue is with Trados Studio or the XML file itself.

    Please note that these are general troubleshooting steps and might not resolve your issue completely. If the problem persists, more information would be needed to provide a more accurate solution.

    I hope this answer addressed your question. If not, please reject the answer, add the question improvement suggestion information, and click the RWS Community AI checkbox on the right to try again.

    RWS Community AI

    emoji
Children
No Data