09-29-2011, 5:54 AM
|
csJorgen
Joined on 09-29-2011
Posts 1
|
Regenerating with a translated word file
|
 
 
|
|
|
Hi,
We are using the Word-2-CHM 2010 Ultimate for generating the help system for our application. We auto-generate help Ids (C#) for the application to use. These Ids are generated in ascending order for each chapter in the word file (1001, 1002, 1003...).
Now, we would like to support translation of the help file.
- We translate the source word file (without altering the structure of the file)
- We generate a new version of the CHM file using the same settings as before (saved as a word2chm file).
- The old CHM file is then replaced with the new one.
Now, as the original help Id file (C#) orders the Ids ascending for each chapter, translation of the chapter headings in the word file should not require replacement of the help Id file as long as the order is intact.
Here is our problem. When we change a heading in the word file and generates a new CHM file, it seems that the changed heading gets a new Id, not the Id which the old heading had. We have inspected the newly generated help Id file (which we do not want to use because it requires recompiling the application), and the orders seems to have been interrupted (1001, 1002, 1342, 1004, 1005...). The application tries to open ID 1003, which no longer exist in the new CHM file.
It seems like the generation of the new CHM some how remembers the old series, and is not generating it from scratch. I guess it has to be stored in the .word2chm file, which I really like to reuse (a lot of custom setup has been done).
Are there better ways to translate the help system, or are we missing out on a "clear Id cache" function somewhere?
|
|
|
|
|
Report
|
|
|
|