| Search Locate Previous Next | Contents |
It is possible that you will want to include the supplied chart viewer as a component in a shipped application, or maybe you would find it helpful during development to have all the viewer texts shown in your native language. To enable this, you require a text phrasebook file which translates the English text to the language of your choice phrasebooks are freely available from the Causeway web site support pages in French, German and Finnish. More languages will be included as phrasebooks are completed by our users.
Using an existing phrasebook
This is managed with two service functions:
dePostScrp.GetPhraseBook 'c:\deutsch.phb'
This reads the phrase table from file, and sets it as the active phrasebook for the viewer. You may ignore the result if you only run in a single language just save the workspace with the phrase table in place. However if you regularly switch languages, you can keep the result in a variable (or on your own component file) and pass it as argument to:
PostScrp.UsePhraseBook de
Note that this is the internal form of the phrase table, and may be changed in the future. It is always safest to maintain the plain text form as an external .PHB file.