Multiple languages in Powerhouse apps.
Michel Adam
michela@kirk.ca
Mon, 30 Oct 2000 23:29:49 -0700
How about using conditional compile? This way you set your variable at compile
time, keep all your messages together in the source code. Should also take care
of the HELP strings...
Michel Adam
michela@kirk.ca
----- Original Message -----
From: Jones Allen (Van) <Allen.Jones@vpgroup.com>
To: 'powerh-l@lists.swau.edu' <powerh-l@sphere.swau.edu>
Sent: Monday, October 30, 2000 6:23 PM
Subject: Multiple languages in Powerhouse apps.
> We'd like to distribute our application in several languages, and we don't
> want to maintain several versions of source code.
>
> One option is to store all our hard-coded strings in database tables, then
> retrieve and display them at run-time. They would be keyed by language
> which could be set by an environment variable (aka logical or symbol). This
> adds some overhead at run time. Also it requires a lot of changes to source
> code, where field labels must be replaced by display fields for new temps
> that hold the field label. Some strings cannot be handled this way, for
> example, the HELP text on designer procedure statements.
>
> Another option I'm considering is to develop a limited parser for Powerhouse
> code that would search for strings and replace them with equivalent strings
> in other languages. Once our design, coding and testing is done, we could
> run the translator to prepare the programs in other languages and distribute
> them.
>
> Has anyone considered either of these options, or had experience with them?
>
> Thanks for your input.
>
> Allen Jones
> VantagePoint Group
> http:\\www.vpgroup.com
>
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.