Board index » delphi » translating standard messages into other language

translating standard messages into other language

I have two problems (Delphi 4 prof.):

1. I don't know, how to translate message button names into other language:
like OK into V REDU or. CANCEL into PREKINI,... when I use messagedlg or
mesagebox etc.

2. Which language driver is correct for slovene (or croat.) for using DBASE
in delphi.

Thank you!

 

Re:translating standard messages into other language


This depends on Windows version, and you cannot change system
messagedialogs.

Quote
"Xav" <wild...@chickmail.com> wrote in message

news:svEt6.17$w8.3066@news.siol.net...
Quote
> I have two problems (Delphi 4 prof.):

> 1. I don't know, how to translate message button names into other
language:
> like OK into V REDU or. CANCEL into PREKINI,... when I use messagedlg or
> mesagebox etc.

> 2. Which language driver is correct for slovene (or croat.) for using
DBASE
> in delphi.

> Thank you!

Re:translating standard messages into other language


1. Copy Consts.pas to your application directory and translate the contents
(this file contains button names, but there are other files that contain
more texts !).

2. ?

"Xav" <wild...@chickmail.com> schreef in bericht
news:svEt6.17$w8.3066@news.siol.net...

Quote
> I have two problems (Delphi 4 prof.):

> 1. I don't know, how to translate message button names into other
language:
> like OK into V REDU or. CANCEL into PREKINI,... when I use messagedlg or
> mesagebox etc.

> 2. Which language driver is correct for slovene (or croat.) for using
DBASE
> in delphi.

> Thank you!

Re:translating standard messages into other language


Quote
> 1. Copy Consts.pas to your application directory and translate the
contents
> (this file contains button names, but there are other files that contain
> more texts !).

Could you tell me what I have to add in my Unit.pas to make it work with the
new consts.pas.
I tried, but it does not work.
I added the consts.pas file in my application location, with the new const
of course, but nothing changed...

Can you help me?

Christian

Re:translating standard messages into other language


Don't use MessageBox (it uses the current Windows language). Use MessageDlg
instead !

"Christian Labrie" <f.bo...@videotron.ca> schreef in bericht
news:iGdu6.12441$7g.243759@wagner.videotron.net...

Quote
> > 1. Copy Consts.pas to your application directory and translate the
> contents
> > (this file contains button names, but there are other files that contain
> > more texts !).

> Could you tell me what I have to add in my Unit.pas to make it work with
the
> new consts.pas.
> I tried, but it does not work.
> I added the consts.pas file in my application location, with the new const
> of course, but nothing changed...

> Can you help me?

> Christian

Other Threads