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

Any way to put WebHelp navigation pane on the right?

Participant ,
Jul 08, 2009 Jul 08, 2009

I am producing localised WebHelps in about 30 languages, including Arabic and Hebrew, Generating the helps with RH7.

My workaround to get Right To Left orientation seems to produce "acceptable" results, except our testers suggest that the navigation pane for Arabic and Hebrew should be on the right too. I have not been able to figure out how to do it.

Any suggestions?

11.4K
Translate
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

LEGEND , Sep 14, 2009 Sep 14, 2009

Better get it perfect eh?

In whihost.js on line 317, change 'window._event.pageX = oMatch.offsetLeft ;' into 'window._event.pageX = oMatch.offsetRight ;'

In whibody.htm on line 162, Change ' nPosX = window.event.srcElement.offsetLeft + window.event.srcElement.offsetWidth - document.body.scrollLeft; ' to ' nPosX = window.event.srcElement.offsetRight + window.event.srcElement.offsetWidth - document.body.scrollRight; '

Greet,

Willam

Translate
LEGEND ,
Sep 17, 2009 Sep 17, 2009

Hi,

The whihost.js change was just a failsafe for if your html didn't have the text direction set.

All these changed strings make sense to me, when I see them. Looks like I don't have the education or experience to spot them in the scripts and fix them in a correct syntax.

I agree. No matter how complicated the scrips become, they need to use a rather simple syntax to place elements on your screen. You need to know which functions are called in which files - That's what gives me a headache sometimes

Hope you were able to fix it before the release!

Greet,

Willam

PS: Don't force all users on Firefox, they can use Opera as well

Translate
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
Participant ,
Sep 17, 2009 Sep 17, 2009

It does not look too bad in Opera either...

Anyway, I could not have done this without you, Willam.

They are building a Release Candidate now. It is not our fault if it is not good enough, and they have to do it again

----------------------------

We have Final Builder 6 software for various tasks and my friendly release engineer made a project that helps RoboHelp Generate all our languages in one go:

Extract resources form version control

Generate helps in the languages that have changes

Make all the replacements that are needed to make RTL work too

Put the finished helps where we need them

Inform those who need to know

Translate
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
LEGEND ,
Sep 17, 2009 Sep 17, 2009

Good idea about the Final Builder. Were now busy getting that running and I'll try to get them to implement RoboHelp too. Never thought about that, thanks!

Greet,

Willam

Translate
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
Participant ,
Apr 03, 2012 Apr 03, 2012

Hi,

I've been away for some time...

I noticed that Willam has an improved version of the WebHelp RTL process on his site:

http://www.wvanweelden.eu/robohelp/right_to_left_help

His post-processing procedure should work in later versions of RH, too.

Translate
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 ,
Apr 03, 2012 Apr 03, 2012

Good to see you back in town Pertti.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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
Guest
Apr 12, 2012 Apr 12, 2012

The RTL process is working for me (testing), EXCEPT my breadcrumbs still read left to right. Can you assist?

RTL_breadcrumb_issue.jpg

Translate
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
Participant ,
Apr 12, 2012 Apr 12, 2012

I don't have access to Robohelp and a suitable project for testing now, so I'm answering from vague memories:

That was not a problem to me when I had <html dir=RTL>, instead of <html> at the beginning of each SOURCE HTML file.

Your breadcrumbs are also in English. I think those texts came from the ToC, or the Title (not Heading) of the HTML files.

Translate
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
LEGEND ,
Apr 12, 2012 Apr 12, 2012

Welcome back Pertti.

The breadcrumbs are created by JavaScript and they do come from the TOC. They're placed on generation, based on the TOC. Since the skin is in English, the breadcrumbs are too.

I will have to play around to look what is going on. Be sure to look at the article on Peter's site too: http://www.grainge.org/pages/authoring/right2left/right2left.htm According to the screenshots of Pertti's test project, the breadcrumbs are correct in his test project.

Greet,

Willam

Translate
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
Participant ,
Apr 13, 2012 Apr 13, 2012

By the time I started paying attention to things like breadcrumbs, I also had translated LNG files (they contain texts that appear on the “Help UI”).

I didn't have different skins in the projects.

Translate
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
Guest
Apr 13, 2012 Apr 13, 2012

Thank you both, Pertti and William.  I have only one translated file so far, but am trying to test the process, with that file and a few English files, while I await more translations.  I did add <html dir=RTL> to each of the Source htm files, and in the Output htm files, after generation.

Should I also update the TOC (.hhc) file with <html dir=RTL> prior to generation ?

Translate
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
Participant ,
Apr 13, 2012 Apr 13, 2012

I recall <html dir=RTL> was not needed in the .hhc or .hhk files. It may even cause problems. Trying it will not cause any harm.

Translate
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
Participant ,
Apr 13, 2012 Apr 13, 2012

A couple of questions occurred to me:

- Which version of Robohelp are you using?

- Which instructions were you following (Willam's, this thread, or the one's on Peter's site?

- Do I understand correctly that <html dir=RTL> in source files reverted to <html> in the output when you generate the help?

Translate
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
Guest
Apr 13, 2012 Apr 13, 2012

Thanks for additional thoughts and questions:

  • Using RoboHelp 7.03.001
  • Followed instructions on Peter's site
  • I don't think source files reverted, but my WebHelp output folder contains many additional htm files, with "whxxx" filenames.  The first step in Peter's Post-Generation process says "Replace the <html> tag at the top of all output HTML files with <html dir=RTL> " 
Translate
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
Participant ,
Apr 13, 2012 Apr 13, 2012

Sounds OK.

The "whxxx" files are generated by RH, every time you Generate.

I cannot give much more advice without playing with some files, which I cannot do now.

One thing to try could be to replace the relevant texts in the .hhc file with some Arabic.

Translate
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