Article View: borland.public.cppbuilder.internationalization
Article #115Re: How to translate MessageDlgPos-Dialog
From: Dennis Jones
Date: Sun, 16 Jan 2005 03:48
Date: Sun, 16 Jan 2005 03:48
27 lines
2127 bytes
2127 bytes
Actually, you can. When the -GD option is enabled for the linker, the resource string ID's and text from VCL library dialogs and error messages are output to a resource file (with a .DRC extension). If the application uses resource DLL's and each language redefines the text for those resources, they will be displayed in the desired language when the resource DLL is used for the application. - Dennis "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> wrote in message news:41e6a6b9$1@newsgroups.borland.com... > tom wrote: > > > the caption's on the buttons of the dialog appear allways in english. > > How do I translate them? > > You can't, unfortunately. You'll have to use one of the Windows API > MessageBox functions (which can be called via > TApplication::MessageBox() if you want to save a bit of hassle). > Unfortunately a cursory check by me didn't find one that allowed you to > specify the position but if you ask in .NATIVEAPI someone will probably > tell you. > > -- > Andrue Cope [TeamB] > [Bicester, Uk] > http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<41e9e415$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41e68ece$1@newsgroups.borland.com> <41e6a6b9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,75311aee60bec3 X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Dennis Jones" <nospam@bogus.com> Newsgroups: borland.public.cppbuilder.internationalization References: <41e68ece$1@newsgroups.borland.com> <41e6a6b9$1@newsgroups.borland.com> Subject: Re: How to translate MessageDlgPos-Dialog Date: Sat, 15 Jan 2005 19:48:36 -0800 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 204.200.27.7 Message-ID: <41e9e415$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105847317 204.200.27.7 (15 Jan 2005 19:48:37 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail