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

Protected blanks from RH2020

Community Beginner ,
Sep 22, 2021 Sep 22, 2021

Copy link to clipboard

Copied

We are currently testing an export of Robohelp content into our new Translation Management System (TMS). We noticed that protected spaces are created from Robohelp. We have not yet found out when and why Robohelp creates these protected spaces. These then cause problems for us in the TMS during translation, as we sometimes get double spaces in the translation as a result.

 

Attached is an example from us:

We have created a text in RH2020. If we export it via copy & paste into Microsoft Word, the whole thing looks like this:

MarcM_0-1632300184434.png

All "°" symbols mean a protected space. 

We really need support on that topic. Thanks in advance.

Views

260

Likes

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 ,
Sep 22, 2021 Sep 22, 2021

Copy link to clipboard

Copied

Hi Marc,
Does you originally authored content in RH contain the protected spaces, or are they getting added after translation? 

Likes

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 Beginner ,
Sep 22, 2021 Sep 22, 2021

Copy link to clipboard

Copied

The content was originally authored in RH.

Likes

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 ,
Sep 22, 2021 Sep 22, 2021

Copy link to clipboard

Copied

Does the originally authored content contain protected spaces?

Likes

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 Beginner ,
Sep 22, 2021 Sep 22, 2021

Copy link to clipboard

Copied

Yes, als already described upon, the protected spaces are there when we copy the authored RH content to MS Word. Also there we can see these protected spaces.

Likes

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 ,
Sep 22, 2021 Sep 22, 2021

Copy link to clipboard

Copied

@Marc M. - did you have non-breaking spaces in your originally authored RH project? Look at an example location in the HTML/code view in RH and see if the spaces are defined as non-breaking ones to begin with. If they are, then that's the source of your issue. If they aren't, then it must be something else that's either converting them to non-breaking spaces or interpreting them as that type.

Likes

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 ,
Sep 22, 2021 Sep 22, 2021

Copy link to clipboard

Copied

If the project has been upgraded from Classic, it might be a legacy from the old version of RH. It was very easy to accidentally add non-breaking spaces before a capital letter.

Likes

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 Beginner ,
Sep 22, 2021 Sep 22, 2021

Copy link to clipboard

Copied

We've used RH 2019 before. But this content is newly edited, so the content was directly created in RH2020 without copying it first or migrating from an old version

Likes

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 ,
Sep 23, 2021 Sep 23, 2021

Copy link to clipboard

Copied

Hi Marc,

Have you by any chance, added multiple consecutive spaces, and then removed the extra spaces so that only one space remains? In HTML, multiple consecutive spaces(the ones that come from the spacebar) cannot exist, they have to be separated by the protected spaces (also known as nbsp-Non Breaking SPace) i.e., in author view if you hit spacebar repeatedly, it will add spaces, but some of them will be nbsp.

It seems that in RH removing consecutive spaces leaves behind one of the nbsp, while it is expected to be spacebar space character. For this issue, we have raised this ticket.

 

Now coming back to your other problem, is the nbsp getting converted to double space? Is it happening in the XLIFF export in the RH or are you using some other translation tool to translate your content?

Likes

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 Beginner ,
Sep 23, 2021 Sep 23, 2021

Copy link to clipboard

Copied

Hello, I've just checked the HTML output. Here are no NBSP-Tags, but non-breakable spaces as the special ASCII character. Here is the HTML output with special characters in Word:

default9hzsmlzz5udl_0-1632385195435.png

It seems unlikely that there were multiple consecutive spaces at this points, but I will aks the colleague who wriote the text initially. Is it right that every consecutive space after an existing one will result in a non-breakable space? This would easily lead to this issue.

We are using the Robohelp way (Item "Tranlations") to generate the XLIF files. But as you can see, the original text includes the characters, so this is no issue regarding export, the characters are exportes "as-is"

Likes

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 ,
Sep 23, 2021 Sep 23, 2021

Copy link to clipboard

Copied

Hello,
"Is it right that every consecutive space after an existing one will result in a non-breakable space?"
Yes, that is the way to add consecutive spaces in HTML, and that is what we do in RH. 


So let's suppose you intend to add 5 consecutive spaces, you hit spacebar key 5 times. Under the hood, it might be looking like this: "&nbsp &nbsp &nbsp", 3 nbsp, and 2 spaces. It could be any combination of nbsps and spaces, it just needs to avoid 2 consecutive space characters somehow. We do this because the browser ignores multiple consecutive spacebar spaces and reduces it to a single space.

Can you tell us more about the issues nbsp is causing? How is it disrupting the translation workflow, as there was mention of double spaces in the post?

Likes

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 Beginner ,
Sep 23, 2021 Sep 23, 2021

Copy link to clipboard

Copied

Hello,

 

thanks for the clarification. The problem is that now (regardless how many spaces there were before) there is only one space which is non-breakable. This leads to a special character which bust be placed again in our translation tool for the translation:

default9hzsmlzz5udl_0-1632386775976.png

Every {sp} mus be dragged from the left area to the right area, and if the amount of {sp}s on the right doesn't match the amount of the left area, we will get an error. Furthermore, it's difficult to esstimate where to put these, because a translation can be very different regarding word placement to the original text.

So, for us it would be good if we know where these characters come from, so we can remove them and also avoid them in the future

Likes

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 ,
Sep 23, 2021 Sep 23, 2021

Copy link to clipboard

Copied

Well, if you need to find a solution to fix the "there is only one space which is non-breakable" issue, then you can use the find and replace feature of RH.


This solution will replace the all the single non breaking spaces between any 2 non space characters with a regular spacebar key space character.


1. Open your project and then click on find and replace tab.
2. Check "Use regular expressions" and check "Find in source view"

3. In find textfield enter this regular expression(without quotes): "(\S)\xa0(\S)"

4. In replace field enter this, again without quotes: "$1 $2"
5. In "File of Type" choose topics.

Hit find button and then replace all the instances one by one by reviewing each search result before replacing it in the search result list. 

Screenshot 2021-09-23 at 5.29.56 PM.png

In the list item you will see a replace icon to replace a particular result. More info on Find and replace here


Try this solution on a couple of files first, if it fits, then proceed to do it for all topics.

 

So the cause of this problem I guess would have been multiple spaces at some point in time which were removed later, for which we have logged a bug.

Likes

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 Beginner ,
Sep 24, 2021 Sep 24, 2021

Copy link to clipboard

Copied

I can't find this ticket:
https://tracker.adobe.com/#/view/RH-10124

Was it deleted or was it already processed?

 

Likes

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 Beginner ,
Sep 24, 2021 Sep 24, 2021

Copy link to clipboard

Copied

Likes

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 ,
Sep 27, 2021 Sep 27, 2021

Copy link to clipboard

Copied

LATEST

Hi,

 

The bug is externally accessible now. Please check.

 

Regards,

Mayank

Likes

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 ,
Sep 24, 2021 Sep 24, 2021

Copy link to clipboard

Copied

Sounds like @Sudhanshu Monga has already logged it in their system; that might be why it's disappeared from the Tracker. PM them to confirm.

Likes

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