How to translate text in popover content

I have a set of HTML files we are translating. The files use popover definitions for specific words:

Sample:

Changing or designating a <span data-bs-trigger="hover focus" data-bs-toggle="popover" data-bs-content="A person entitled to receive all or a portion of a participant’s benefit in the event of the participant’s death.">beneficiary</span>

The user sees this on-screen:

Changing or designating a beneficiary

When the user places their mouse over "beneficiary" a definition pops up that reads:

A person entitled to receive all or a portion of a participant’s benefit in the event of the participant’s death.

Trados is recognizing the tags and places them around the word "beneficiary". However, I need to translate the text contained within the tag. How can I do that?

Screenshot showing a text excerpt with the word 'beneficiary' highlighted and tagged for popover definition in Trados Studio.

Screenshot displaying HTML code for a popover definition, with 'span' tags around the word 'beneficiary' in Trados Studio.

Thanks in advance!



Generated Image Alt-Text
[edited by: Trados AI at 6:29 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  • Go to File -> Setup -> Project templates, chose the one you want to use, then edit it. In the settings of file types chose html 5 and go to parser. Select the element "span" and add the data-bs-content as translatable attribute. Then create the project once again with the source html file. Now your "popover" should be translatable.

    _________________________________________________________

    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.

    emoji
Reply
  • Go to File -> Setup -> Project templates, chose the one you want to use, then edit it. In the settings of file types chose html 5 and go to parser. Select the element "span" and add the data-bs-content as translatable attribute. Then create the project once again with the source html file. Now your "popover" should be translatable.

    _________________________________________________________

    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.

    emoji
Children