 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Matt Guest
|
Posted: Mon Jun 13, 2005 6:46 am Post subject: stringtable |
|
|
Hello,
I would like to make a string table with dutch strings and english strings.
How do I make my program use the right language depending on the users loacl
settings?
Can anybody tell me?
Thanks in advance.
Mart.
|
|
| Back to top |
|
 |
Liz Albin Guest
|
Posted: Tue Jun 14, 2005 5:48 pm Post subject: Re: stringtable |
|
|
On Mon, 13 Jun 2005 08:46:49 +0200, Matt wrote:
| Quote: | I would like to make a string table with dutch strings and english strings.
How do I make my program use the right language depending on the users loacl
settings?
|
Is this a homework problem?
at any rate the general way would be
- create a 2-dim table where one set of elements is english, the other
dutch (a vector of vectors perhaps)
- check the locale and set the indicator (e.g. language = 0 for english
and language = 1 for which one)
- reference Table[language][index]
--
Good luck,
liz
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|