• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Bookmarks simply do not export to XLIFF

Contributor ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

It seems that the XLIFF conversion is not really up to par as bookmarks simply disappear when you export a topic with a bookmark to an XLIFF file. If this issue is confirmed, that would be a rather serious problem.

 

Reproduction steps

1 - Create a topic with a bookmark (no text associated with bookmark in this case, but the same happens if you bookmark text)

WoutJacobs_0-1699360332329.pngexpand image

2 - export this topic

WoutJacobs_1-1699360464416.pngexpand image

Result: bookmarks are not exported along with other text in the XLIFF file

WoutJacobs_2-1699360495006.pngexpand image

 

Views

440

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Nov 07, 2023 Nov 07, 2023

On investigating this further with RoboHelp 2022.3., I can confirm that there is a bug related to bookmark handling in specific scenarios.

I have tested this scenario:

<p>Bookmark: <a id="ThisIsBookmark1"></a></p>
<p>Bookmark: <a id="ThisIsBookmark2"></a>.</p>
<p><a id="ThisIsBookmark3"></a></p>
<a id="ThisIsBookmark4"></a>

Resulting translation (here: German):

<p>Lesezeichen: </p>
<p>Lesezeichen: .</p>
<p><a id="ThisIsBookmark3"></a></p>
<a id="ThisIsBookmark4"></a>

As you can see, in the firs

...

Votes

Translate

Translate
Community Expert ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

What version of RH?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

Latest one, 2022.3.93

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

I don't have any experience with XLIFF at all, but are you sure that the bookmarks are supposed to be translated in the first place?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

They don't, but they should at least be included in the export. If you import the translated XLIFF without bookmarks, all crossreferences to bookmarks are rendered dead in the translation project because the bookmarks don't exist there.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

LATEST

Hello!
Try adding some text inside the <a> tags (eg. <a id="bookmark1">1.</a>), it should fix the problem. Please let us know if it doesn't.


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

Have you been in contact with the RH folks about this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

The XLIFF only contains the translatable text extracted from the source document. It is not a complete representation of the full HTML-DOM, and XLIFF is not meant to represent that. That is, if your bookmark does not contain translatable text (and an ID is not meant for translation), it will not show up in the XLIFF-Structure.

At the beginning of the XLIFF file you will find the full HTML document in Base64 encoding. The XLIFF tree then contains the translatable strings, identifiable against the HTML with the ID attributes which gives the full XPATH to the corresponding element in the (embedded) HTML file. When importing the translated XLIFF, the translated strings are injected back into the HTML file embeded in the XLIFF file.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

Hi, thank you for answering and clearing that up.

The problem is that when importing the XLIFF, the bookmark simply does not show up in the translated topic. Could you confirm that this should (not) be the case? I've tested with another new project and keep encountering this problem:

 

The original topic with a bookmark

WoutJacobs_1-1699368437684.pngexpand image

 

I created a new translation project (e.g. Czech), exported the XLIFF for the topic, and imported it again. The translated topic does not have the bookmark:

B2.PNGexpand imageB3.PNGexpand image

 

I would be ecstatic if it were an error on my part but I consistently encounter this problem.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

On investigating this further with RoboHelp 2022.3., I can confirm that there is a bug related to bookmark handling in specific scenarios.

I have tested this scenario:

<p>Bookmark: <a id="ThisIsBookmark1"></a></p>
<p>Bookmark: <a id="ThisIsBookmark2"></a>.</p>
<p><a id="ThisIsBookmark3"></a></p>
<a id="ThisIsBookmark4"></a>

Resulting translation (here: German):

<p>Lesezeichen: </p>
<p>Lesezeichen: .</p>
<p><a id="ThisIsBookmark3"></a></p>
<a id="ThisIsBookmark4"></a>

As you can see, in the first two cases, the bookmark gets lost, and in the other two cases it remains.

This might help you as an intermediate workaround until the bug is fixed.

I have created a ticket for this, that you can track here: RH-12164.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 07, 2023 Nov 07, 2023

Copy link to clipboard

Copied

EDIT Content removed as the variable issue is in another thread and is being looked into by Adobe.

________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp