TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Switching HTML Help files on the fly: caching problems?
Subject:Switching HTML Help files on the fly: caching problems? From:"Hart, Geoff" <Geoff-H -at- MTL -dot- FERIC -dot- CA> To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Tue, 3 Jun 2003 08:43:31 -0400
Derk Ederveen reports: <<We have an application, built in Microsoft FoxPro,
with an online language switch. The user can select e.g. "Language/English"
or "Language/Dutch" to switch the interface language without leaving the
application. We're having trouble switching the help file as well.>>
The way we do it is to ask users to select the language for the user
interface before they go to the help file. That's based on the logic that
they'll be working in their preferred language while they use the software,
and will want the help delivered in the same language. Simplistically, the
way we do this is set a "flag" variable for the language choice. Then, when
someone invokes the help system, the software checks the status of this flag
to see which help file it should open. Since the topic IDs are identical in
both our languages, this works like a charm.
<<In case it matters: we use modular help, the avwin.chm is the 'hub' for
some 10 underlying help files.>>
I suppose you could always create a single "home page" help file that
contains only language buttons. Upon clicking the desired language, the
appropriate help system opens. Worth a try?
--Geoff Hart, geoff-h -at- mtl -dot- feric -dot- ca
Forest Engineering Research Institute of Canada
580 boul. St-Jean
Pointe-Claire, Que., H9R 3J9 Canada
"It's one thing to see death coming at the hands of your own creation.
That's part of the human epic tradition, after all. Oedipus and his father.
Baron Frankenstein and his monster. William Henry Gates and Windows
'09."--David Brin, _Kiln People_
---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.