Subject | Re: [IBO] How to stop multi language error messages? |
---|---|
Author | Arno Garrels |
Post date | 2002-11-28T14:41:54Z |
Paul,
Thousand thanks for your very detailed answer.:-)
What do you think about just passing the first line of an error message to
the user, would it always give a unique hint of what went wrong?
I'm using D4 and therefor I cannot pass/share long strings across threads.
Arno Garrels
Thousand thanks for your very detailed answer.:-)
What do you think about just passing the first line of an error message to
the user, would it always give a unique hint of what went wrong?
I'm using D4 and therefor I cannot pass/share long strings across threads.
Arno Garrels
----- Original Message -----
From: "Paul Vinkenoog" <paulvink@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, November 28, 2002 2:42 PM
Subject: Re: [IBO] How to stop multi language error messages?
> Hi Arno,
>
> > Currently a German translation is appended to English messages:
> >
> > ISC ERROR MESSAGE:
> > Unable to complete network request to host "192.168.1.100".
> > Failed to establish a connection.
> > -->??Es konnte keine Verbindung hergestellt werden, da der
> > Zielcomputer....
> >
> > Where does it come from?
>
> Looks like it comes from Germany ;-)
>
> But without kidding: Firebird sometimes passes the OS error message on
> to the user. The good thing is that this gives you more information
> about what went wrong. E.g. in the above case, the OS message tells
> the user _why_ the connection couldn't be made.
> The downside is that it may look a bit silly.
>
> My applications are mostly in Dutch. If a catch an IB_Error I often
> give the user a Dutch message, followed by an empty line, followed by
> the IB_Error.Message
>
> I also translated IB_Constants.pas so my IBObjects speak Dutch, but
> IBO often passes on the FB error message, which is in English, and which
> in turn may pass on an OS message an any old language.
>
> Although this hodgepodge of languages in what the end user sees as one
> message may be confusing, I still prefer it to losing information. Now
> if they call me I ask them to read the message, and nine times out of
> ten I can tell them immediately what went wrong, and how to solve the
> problem.
>
> Of course you can also scan the message for ISC error codes and
> produce your own customized messages for certain situations.
>
>
> Greetings,
> Paul Vinkenoog
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>