Article View: borland.public.delphi.nativeapi
Article #76Re: System error messages in other languages
From: Michael Winter
Date: Wed, 21 Jan 2004 22:16
Date: Wed, 21 Jan 2004 22:16
27 lines
2067 bytes
2067 bytes
Rob Kennedy wrote: > Could you just send the numeric error code, and let the client machine > generate the error message using the local language? Yes but since OS error messages are not too instructive somtimes, in many cases the final error message is generated combining information from inside the project and from the OS, as in Can't open the %s project, OS reports this error: %s - Try again later. OTOH, the same happens on the client: If the computer has a german OS installed, and my software is switched to english, OS messages still appear in german language. > You can pass a language identifier as the fourth parameter to > FormatMessage. The OS needs to know that language. I tried this but all I get is, depending on the language id, either the one installed language or an empty string. I assume that on a 'normal' Windows there is only one language available per module, and that seems to be true for the kernel modules, too. However, I've found two promising CDs labelled 'multilingual user interface' at my MSDN heap, and I'm going to try these in a Vmware box the next days. -Michael
Technical Details
Message-ID:
<q4i2x9uc11la.dlg@news.michawinter.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<l9dtev7hicyv.dlg@news.michawinter.de> <400da2e5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,47c709fe6a10c938 X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2004-01-21 14:41:01 PST From: Michael Winter <delphi.net@gmx.net> Subject: Re: System error messages in other languages Newsgroups: borland.public.delphi.nativeapi User-Agent: 40tude_Dialog/2.0.8.1de Hamster/1.3.23.205 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <l9dtev7hicyv.dlg@news.michawinter.de> <400da2e5$1@newsgroups.borland.com> Date: Wed, 21 Jan 2004 23:16:27 +0100 Message-ID: <q4i2x9uc11la.dlg@news.michawinter.de> NNTP-Posting-Host: 145.254.200.18 X-Trace: newsgroups.borland.com 1074724295 145.254.200.18 (21 Jan 2004 14:31:35 -0700) Lines: 27 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail