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

How do I incorporate translated htm files into an existing project?

New Here ,
Jun 11, 2010 Jun 11, 2010

Copy link to clipboard

Copied

I am working with RoboHelp HTML 7.03 and have inherited a webhelp project that was created with an earlier version (RoboHelp for Word 5.0 or earlier). Even before I had a chance to get my feet wet and never having used RoboHelp before, I was asked to send the project out for translation into French. Not knowing which files to send, I zipped up everything and sent it. The translation company returned the htm, hhc, and hhk files.

My problem now is how do I get these translated files into my project so that I can generate an Online Help system that I can give to my developers?

I have read Ben Minson's article and have tried to follow it with the project I was left with. No Luck! I have also read elsewhere where people have just made copies of their project and just dropped the translated files in place of the English files. I haven't tried this because I am not exactly sure how to copy the project: copy everything to a new location or create a new project and copy specific files from the old project?

I would greatly appreciate any help or advice I can get on this problem.

Thanks in advance,

Bill

Views

751

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

Participant , Jun 14, 2010 Jun 14, 2010

htm, hhc, and hhk files is usually exactly what needs to be translated.

If that is what they delivered...

- Make a copy of the English help project, with Windows Explorer, and rename the root folder so that you clearly see it is the French project.

- Check that the delivered files are in a folder structure that matches the original. If it does, copy the htm, hhc, and hhk files over the copied help project.

- Open the updated help project with RoboHelp. Check Project Settings, under the File menu, an

...

Votes

Translate

Translate
LEGEND ,
Jun 11, 2010 Jun 11, 2010

Copy link to clipboard

Copied

Hi Bill

The first step will be to examine the files and see if what they gave you back are source files or output files. Hopefully they are source files.

Assuming they are source files, you would then make a copy of your project. Then copy those files and replace the existing files in order to convert to the new language.

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

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
New Here ,
Jun 14, 2010 Jun 14, 2010

Copy link to clipboard

Copied

Hi Rick,

I was going to say that they sent me the "output" files, but after more thought ... how do I tell?

Unknowingly, I followed yours and perttime's advice and made a copy of the project, replaced the project files with the translated files, and regenerated the output. Almost everything works fine.

Somehow my popups are broken, they no longer pop.

I have compared the English and French HTML code and could not see any problems there.

Thanks for your help on getting the translated files into the project.

Any ideas on the popups?

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
Participant ,
Jun 14, 2010 Jun 14, 2010

Copy link to clipboard

Copied

htm, hhc, and hhk files is usually exactly what needs to be translated.

If that is what they delivered...

- Make a copy of the English help project, with Windows Explorer, and rename the root folder so that you clearly see it is the French project.

- Check that the delivered files are in a folder structure that matches the original. If it does, copy the htm, hhc, and hhk files over the copied help project.

- Open the updated help project with RoboHelp. Check Project Settings, under the File menu, and change help language to French if needed. Check that the Default output is what you want (presumably WebHelp).

- Generate the help.

That should do it.

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
New Here ,
Jun 14, 2010 Jun 14, 2010

Copy link to clipboard

Copied

perttime,

Thanks  to you and Rick for your help.

The project is working fine except for my popups ... they no longer pop.

I have compared the English and French HTML code and cannot find anything wrong there. Any ideas?

Thanks again,

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
Participant ,
Jun 16, 2010 Jun 16, 2010

Copy link to clipboard

Copied

Popups can depend on small things.

- Do both projects have a 'eHlpDhtm.js' file?

- Do topics with popups have a script at the beginning of the Body section of the raw HTML? Something like:

<robohelp><script type="text/javascript" language=JavaScript1.2 x-save-method=compute-relative
src="../ehlpdhtm.js"></script>
<script type="text/javascript" language=JavaScript1.2>
<!--
if( typeof( FilePopupInit ) != 'function' ) FilePopupInit = new Function();if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
//-->
</script>

</robohelp>

- Do the popup spots have identical pieces of script (between English and French)

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
New Here ,
Jun 16, 2010 Jun 16, 2010

Copy link to clipboard

Copied

The answer to all three of your questions is "Yes".

Unfortunately (or fortunately, depending on your point of view), I found that the translation company "broke" some of the HTML/javascript code in the translated HTM files. Some of the things they did was:

  • Use apostrophes instead of single quotes
  • Add extraneous and unnecesssary code
  • Translate javascript commands

It is now just a matter of finding what is broke, comparing the English and French versions, and fixing the problems.

Thanks for your help.

Bill

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
Participant ,
Jun 16, 2010 Jun 16, 2010

Copy link to clipboard

Copied

LATEST

Argh,

that is definitely enough to break the popups: scripts not identical.

I frequently use a software named "Beyond Compare" to find the differences in files and folder contents.

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