Adjust ST4.sdlftsettings to set only one language as "Not translatable"

Hello,
I imported into Trados 2022 a XML file exported from SCHEMA. The file contains sentences in DE and in another language, but only the German parts should be translated. 
I have a corresponding ST4.sdlftsettings file, which states what is to be translated and what not.
According to the ST4.sdlftsettings file, readonly elements or elements with readonly="true" should not be translated:
Screenshot of Trados Studio filter settings showing rules for XML elements with 'readonly' attribute set to 'true' marked as 'Not translatable'.
However, I noticed in the XML file that there are sections marked as readonly="true" for both languages, i.e., the language that should not be translated (where the use of readonly element is clear) but also for DE text.
Here are some examples where DE text is flagged as read only:
<readonly_title>Produktion</readonly_title>
and
<table-container ref="g1234556789" id="90000000" type="header" readonly="true">
<table-title>Informationen zum Produkt</table-title>
<table hsdl-percent="10.0" type="fixed">
Is there a way to adjust the ST4.sdlftsettings to solve this? If I set the read only elements as Translatable, I end up importing text in both languages.
Unfortunately I cannot upload the XML file.
Cristina


Generated Image Alt-Text
[edited by: RWS Community AI at 9:56 AM (GMT 1) on 10 Oct 2024]
emoji
  •  

    Do I understand you correctly that you are looking for a way to convey to Trados Studio that the below text should not be translated:

    <table-title>Informationen zum Produkt</table-title>

    This is done with inheritance.

    Daniel

    emoji
  •  

    If you want sensible assistance with this please provide a sample file.  It should not be difficult for you to create a small sample XML file that contains the structure of all these things you are dealing with but also anonymous text.  For example:

    <?xml version="1.0" encoding="UTF-8"?>
    <document>
        <!-- Translatable section without readonly attribute -->
        <content>
            <title>Produktbeschreibung</title>
            <paragraph>Dies ist eine Beschreibung des Produkts.</paragraph>
        </content>
    
        <!-- Non-translatable section with readonly attribute set to true -->
        <readonly_title readonly="true">Produktion</readonly_title>
        <readonly_description readonly="true">
            Dieser Text sollte nicht übersetzt werden, da er als nur-lesbar markiert ist.
        </readonly_description>
    
        <!-- Table example with mixed content -->
        <table-container ref="g1234556789" id="90000000" type="header" readonly="true">
            <table-title>Informationen zum Produkt</table-title>
            <table hsdl-percent="10.0" type="fixed">
                <row>
                    <cell>Produktname</cell>
                    <cell>Preis</cell>
                </row>
                <row>
                    <cell>Produkt A</cell>
                    <cell>€10.00</cell>
                </row>
            </table>
        </table-container>
    
        <!-- Additional section with translatable DE content and readonly true -->
        <section>
            <title readonly="true">Nur-Lesbarer Titel</title>
            <description readonly="true">Dieser Beschreibungstext ist nicht zu übersetzen.</description>
        </section>
    
        <!-- Example in another language, should not be translated -->
        <foreign_content readonly="true">
            <title>Titre du produit</title>
            <paragraph>Ceci est une description du produit en français.</paragraph>
        </foreign_content>
    </document>
    

    So far there is insufficient information from you to get a sensible answer.  Without that how do we know if the ST4 settings can identify the target language sections explicitly, or if they rely solely on the readonly attribute for example?  You will get much better help if you explain your problem with enough info for someone to help.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji