Problems with processing XLF sfiles

Hi,
I received XLF files from the client - for the first time, not experience of working with them.
I managed to import them into Studio project, but found, that SDLXLIFF, except for the text for translation, contains a lot of service strings.
Screenshot of Trados Studio showing a segment of code within the SDLXLIFF file, including HTML tags and attributes.
What can I do to obtain an SDLXLIFF only with the text for translation to comfortably translate and to correctly assess the translation volume?

Sergey



Generated Image Alt-Text
[edited by: Trados AI at 3:33 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  • You can convert them all into placeholders by enabling Embedded content processing in Project Settings/File Types/XLIFF (1.1-1.2 v 2.0.0.0). However the default Tag Expression does not cover all tags. You can use the 'Preview file' option by browsing your file. If you still have some tags in plain text even after applying the said setting, add <.*?> in 'Tag definition rules' and try again. You have to remove your files, both source and target, and then add them again to apply the new settings. If you only remove target files and then prepare the existing source files, it won't work.
    *Don't use the Close icon. Always press OK instead.
    Trados Studio Project Settings window showing Embedded content processing enabled with default Tag Expression and Preview File option.

    However, you should keep in mind that the xlf file structure may change after you export it from Studio. It always happens with TWS XLIFF Editor files for example. Also, some tags themselves may include translatable text. For example tags containing alt= (e.g. <img alt=...Click here.../>). If you convert all your plain text tags into placeholders, you won't be able to translate those translatable tag elements. Filter by text "alt=" and see if there are such tags. If yes, translate them first, then apply the above settings.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 3:33 AM (GMT 0) on 29 Feb 2024]
  • add <.*?>

    For tag pairs you should use <name[^>]*> and </name> where "name" is the name of a tag. For example for <p> tags it would be <p[^>]*> and </p>.

    For <div-class...> add <div[^>]*> with </div> and so on.

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

Reply Children
No Data