Documentation Center

Migrating HTML 4 file type settings to HTML 5

If you have custom settings for the HTML 4 file type or for the HTML 4 embedded content processor, you can easily convert them to HTML 5 settings in a text editor. This enables you to reuse these settings for new projects created in Trados Studio 2021 and later.

About this task

Starting with Trados Studio 2021, the HTML 5 file type has fully replaced the HTML 4 one. Existing projects that use the HTML 4 file type continue to be processed with this legacy filter. However, projects created in Trados Studio 2021 and later always use the HTML 5 file type for processing HTML content.

To convert HTML 4 settings to HTML 5 and import them into Trados Studio:

Procedure

  1. Open Trados Studio 2019 or earlier.
  2. To export HTML 4 settings from a specific project, click Project Settings> File Types. To export settings specified globally in Trados Studio, click File >Options > File Types.
  3. In the File Types table on the right, select the HTML 4 file type from and click Export Settings. This option is only available if this file type contains custom settings.
  4. Specify the location where you want to export the .SDLFTSETTINGS file and click Save.
  5. Open the .SDLFTSETTINGS file in a text editor like Notepad ++.
  6. Search for the element <FileTypeConfiguration_ComponentBuilderId> and change its value from "Html 4 2.0.0.0" to "Html 5 2.0.0.0":
  7. Search for <FileTypeDefinitionId> and update the file type description to reflect the changes. For example: "Converted from Html 4 2.0.0.0".
  8. Save the file and import it into Trados Studio 2021 or later.

Migrating settings for the HTML 4 embedded content processor

  1. Open Trados Studio 2019 or earlier.
  2. To export HTML 4 settings from a specific project, click Project Settings> Embedded Content Processors. To export settings specified globally in Trados Studio, click File > Options > Embedded Content Processors.
  3. In the File Types table on the right, select the HTML 4 file type from and click Export Settings. This option is only available if this file type contains custom settings.
  4. Specify the location where you want to export the .SDLECSETTINGS file and click Save.
  5. Search for the element <Setting Id="FileTypeConfiguration_ComponentBuilderId"> and change its value from " Html Embedded Content 4 2.0.0.0" to "Html Embedded Content 5 2.0.0.0".
  6. Search for the element <FileTypeDefinitionId> and update the description from "Html Embedded Content 4 2.0.0.0".
  7. Save the file and import it into Trados Studio 2021 or later.