Salesforce

WorldServer 11.7.x - is it possible to export and/or modify the default file type configurations? If not, how do I know which settings are applied to my default configuration?

« Go Back

Information

 
TitleWorldServer 11.7.x - is it possible to export and/or modify the default file type configurations? If not, how do I know which settings are applied to my default configuration?
URL Name000017212
SummaryWhile in previous versions of WorldServer, Default file type configurations could be viewed and modified in the User Interface, starting from WorldServer 11.7, Default File Type configurations cannot be exported from WorldServer or changed. They also cannot be overridden when importing a file type configuration created in Studio. This article explains how you can check the settings of your Default configuration if it has been changed in earlier version of WorldServer and you do not know which settings now differ from the actual default settings.
Scope/EnvironmentWorldServer
Question
In WorldServer 11.7.x, is it possible to export and/or modify the default file type configurations? If not, how do I know which settings are applied to my default configuration?
Answer
While in previous versions of WorldServer, Default file type configurations could be viewed and modified in the User Interface, starting from WorldServer 11.7, Default File Type configurations cannot be exported from WorldServer or changed.

They also cannot be overridden when importing a file type configuration created in Studio. When you try to do such an import, WorldServer will prompt you to give the configuration a name. Even if you enter Default as a name when importing, WorldServer will accept it, but it won't override the in-built default configuration. It will add a second configuration called Default to the file type list of configurations. That one can be exported or deleted, but it is not the in-built Default configuration, despite its name.

A Default File Type configuration should normally reflect the default settings that you see in Trados Studio when clicking on Reset to Default in each area of your File Type. Here is an example:

User-added image

Note: if you have upgraded from an earlier version of WorldServer and you know for sure that you have changed the default configuration in the past, you Default configuration after the upgrade has been probably reset and your previous changes have been overriden. To find out which settings are set in your Default file type configuration, follow these steps:

1- In WorldServer, create a test project that uses that default configuration. For instance, create a test project with a source DOCX file where the file type used is the Microsoft Word 2007-2019 File Type. 
2- Once the project is created and reaches the first human step, export it to a WSXZ Studio package.
3- Open the WSXZ package in Trados Studio. The WorldServer Studio project will be created.
4- Select the project and go to Project Settings. The Project Settings page, under File Type, find your File Type and check the options in each area. In the example below, the default configuration in the Project Settings (which comes from WorldServer) differs slightly from the original one. It has the option Process files with tw4winMark style enabled, which was set in WorldServer before upgrading to 11.7:

User-added image

If, on the same Project Settings page, I click on Reset to Defaults, the actual original default settings will appear and that option would be unchecked:

User-added image

Method 2:

1. Go to Management > Administration > Export Objects
2. In the Object Types drop-down menu, select File Types 
3. Expand the relevant File Type, for instance, Microsoft Word 2007-2019
4. Select Default and click on the Next button
5. Click Export. A file called ExportObjectDefinitions.tml (which you can rename when saving it to your local computer) will be created. 
6. Open the TML file in Notepad ++. You might see something like this:
 
<?xml version="1.0" encoding="UTF-8"?>
<worldServerExport version="11.6.1" xmlns="http://www.idiominc.com/tml/1.0">
  <filterConfig id="Microsoft Word 2007-2016 File Type|Default" exported="true">
    <classHash>0</classHash>
    <configName>Default</configName>
    <configDate>1634214538435</configDate>
    <config configClass="com.idiominc.ws.filters.fts.FSProxyFilterConfigurationData">
      <FSProxyFilterConfig>
        <fileTypeInformationXml>&lt;![CDATA[PD94bWwgdmVyc2lvbiA9JzEuMCc/PjxmaWxlVHlwZUluZm9ybWF0aW9uPjxmaWxlVHlwZUNvbmZpZ3VyYXRpb25JZD5Xb3JkcHJvY2Vzc2luZ01MIHYuIDI8L2ZpbGVUeXBlQ29uZmlndXJhdGlvbklkPjxzaWx2ZXJsaWdodFNldHRpbmdzUGFnZUlkcz48c2lsdmVybGlnaHRTZXR0aW5nc1BhZ2VJZD5Db21tb25TZXR0aW5nc18yPC9zaWx2ZXJsaWdodFNldHRpbmdzUGFnZUlkPjxzaWx2ZXJsaWdodFNldHRpbmdzUGFnZUlkPk5vblRyYW5zbGF0YWJsZVN0eWxlc1NldHRpbmdzXzI8L3NpbHZlcmxpZ2h0U2V0dGluZ3NQYWdlSWQ+PHNpbHZlcmxpZ2h0U2V0dGluZ3NQYWdlSWQ+Rm9udE1hcHBpbmdTZXR0aW5nczwvc2lsdmVybGlnaHRTZXR0aW5nc1BhZ2VJZD48L3NpbHZlcmxpZ2h0U2V0dGluZ3NQYWdlSWRzPjxmaWxlRGlhbG9nV2lsZGNhcmRFeHByZXNzaW9uPio8L2ZpbGVEaWFsb2dXaWxkY2FyZEV4cHJlc3Npb24+PC9maWxlVHlwZUluZ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R0aW5nPjxTZXR0aW5nIElkPSJOb25UcmFuc2xhdGFibGVTdHlsZU1hcHBpbmdSdWxlcyI+VHJ1ZTwvU2V0dGluZz48U2V0dGluZyBJZD0iV3JpdGVTdHVkaW9Db21tZW50c1RvVGFyZ2V0Ij5UcnVlPC9TZXR0aW5nPjxTZXR0aW5nIElkPSJQcm9jZXNzdHc0V2luTWFya3N0eWxlIj5UcnVlPC9TZXR0aW5nPjwvU2V0dGluZ3NHcm91cD48L1NldHRpbmdzQnVuZGxlPg==]]&gt;</settingsBundleXml>
      </FSProxyFilterConfig>

    </config>
  </filterConfig>
</worldServerExport>



7. The content of the <settingsBundleXml> elements is a 64-bit encoded version of the content of the Studio  .sdlftsettings file. In order to make this human-readable, you select the EXACT STRING AFTER "[CDATA[" up to and not including "]]", copy it and paste it  into a decoder, e.g. www.base64decode.org

User-added image

If you have Notepad++ installed on your computer, you can decode directly there by selecting the EXACT STRING AFTER "[CDATA[" up to and not including "]]" and then go to Plugins/Mime Tools/Base 64 Decode to decode the text. The most important section that you might be interested in is the Settings (settingsbundleXml) section. Here is how you select the File Type information section and decode it:

User-added image

Output:

User-added image

As you can see above, the decoded content shows you the options that have been enabled ("True") or disabled ("False") in the file type configuration. For example:
 
<Setting Id="ExtractCommentsForTranslation">False</Setting>.
<Setting Id="NonTranslatableStyleMappingRules">True</Setting>
<Setting Id="WriteStudioCommentsToTarget">True</Setting>
<Setting Id="Processtw4WinMarkstyle">True</Setting><

Note, if the settingsbundleXml section does not contain anything to decode, like this:

<settingsBundleXml>&lt;![CDATA[]]&gt;</settingsBundleXml>

it means that the default configuration is the original one and has never been changed.
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by