Test How to display text flagged as "no translation" in the Editor?

Edit Rule dialog in Trados Studio showing XPath set to '@translate = false', Translate set to 'No', Tag Type as 'Structure', and Whitespace as 'Inherit from parent'.

I am working with Trados Studio 2024, and I am searching for a way to display texts in the Editor despite them being flagged as "do not translate":

We have a custom file type with an edit rule in the parser section that sets texts to "do not translate", and it works perfectly (with the following properties set in the "Edit Rule" dialog: "Translate" set to "No", "Tag type" set to "Structure", "Whitespace" to "Inherit from parent").

However, with the current setting, our translators may only be seeing the 1-2 sentences of a full text that are to be translated without any context, while the largest portion of the text will be invisible to them. This is not a good starting position for a good translation, so we would like to adjust the files in a way that all texts are displayed in the Edtor to provide the needed context, terminology, etc., with only the "do not translate" texts remaining untranslateable (maybe as "locked" texts?).

I saw that in the advanced settings of the parser rules, there seems to be a setting that might help, "ShowElementContent", but I have not been able to make it work (maybe because I do not know what to set as "Name", "Code" and "Description", or maybe because that section is not intended for this purpose?).



Generated Image Alt-Text
[edited by: RWS Community AI at 1:21 PM (GMT 1) on 29 Apr 2026]
emoji

  • Probability score: 0.7  

    Question improvement suggestion: Provide specific details about the custom file type and the edit rule settings you are using, as well as any error messages or unexpected behavior you have encountered.  

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

    Hello!  

    It sounds like you're looking for a way to display text flagged as "do not translate" in the Trados Studio Editor to provide your translators with the necessary context. Here are some steps you can take to achieve this:

    **Step 1:** Modify Edit Rule Settings  

    - In your custom file type settings, navigate to the "Edit Rule" dialog. You may want to adjust the settings for the "do not translate" texts. Instead of setting them to "No" for translation, consider setting them to "Yes" but with a visual indication (like a different color or style) to show they are not meant to be translated.

    **Step 2:** Use the "ShowElementContent" Setting  

    - You mentioned the "ShowElementContent" setting in the advanced settings of the parser rules. This setting can help display the content of elements that are typically hidden. You will need to specify the correct parameters for "Name," "Code," and "Description." If you're unsure what to set, you might want to refer to the documentation for your specific file type or experiment with different values to see what works.

    **Step 3:** Test with a Sample File  

    - After making changes to the edit rules, test with a sample file to see if the "do not translate" texts are now visible in the Editor. This will help you confirm whether the adjustments have the desired effect.

    **Step 4:** Consider Using Comments or Annotations  

    - If displaying the "do not translate" texts directly is not feasible, consider adding comments or annotations in the segments that provide context for the translators. This way, they can still see the relevant information without altering the translation status of those segments.

    **Step 5:** Review Documentation and Community Resources  

    - If you continue to have trouble, reviewing the Trados Studio documentation or community resources may provide additional insights or examples of similar configurations.

    By following these steps, you should be able to enhance the visibility of the context for your translators while keeping the integrity of the "do not translate" texts intact.  

    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