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.
Helpful and Handy Links
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.
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?
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?
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:
if( typeof( FilePopupInit ) != 'function' ) FilePopupInit = new Function();if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
- Do the popup spots have identical pieces of script (between English and French)
The answer to all three of your questions is "Yes".
- Use apostrophes instead of single quotes
- Add extraneous and unnecesssary code
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.
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.