PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Translate error message
Translate error message
Iniciado por Rob, 26,jul. 2013 17:03 - 2 respuestas
Publicado el 26,julio 2013 - 17:03
Hello everyone.

I'm a new user to the WinDev products, and am currently evaluating WinDev Mobile Express for some projects we have.

My question is how can I translate the runtime error messages that a program generates from french to english?
I've read through the tutorials, and am at the point where I can develop a small usable application for our handheld devices. But to go forward with this, so that I can convince the people necessary to purchase the full package, I have to be able to get any error messages to display in english.

For example, I have this block of code that uploads a .jpg file to an internal ftp server.
nConnectionID = FTPConnect(gsFTPServerEXPRESS, gsFTPUserEXPRESS, gsFTPPasswordEXPRESS)
IF nConnectionID <> -1 THEN

// Insert your process here
FTPSend(nConnectionID,sImageFilePathEXPRESS,sImageFileNameExpress)
// Disconnection
FTPDisconnect(nConnectionID)
ELSE
Error()
END

In the event that it can't connect to the server, Error() returns an error message in french
Publicado el 26,julio 2013 - 18:16
Hi Rob

3 things...

1. The US version is SUPPOSED to display error messages in English, so
maybe your problem is coming from the fact that the express version is
not kep up to date of the last corrections (sometimes one major version
late, to be exact)

2. There is an extra tool called wdInt ($$$) that you can use to extract
all DLLs messages and translate them in any language you need

3. In a case like "ERROR", you can use an extra parameter to get the
error CODE instead, and display your own message accordingly

Best regards


--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on http://www.fabriceharari.com

On 7/26/2013 9:03 AM, Rob wrote:
Hello everyone.

I'm a new user to the WinDev products, and am currently evaluating
WinDev Mobile Express for some projects we have.

My question is how can I translate the runtime error messages that a
program generates from french to english?
I've read through the tutorials, and am at the point where I can develop
a small usable application for our handheld devices. But to go forward
with this, so that I can convince the people necessary to purchase the
full package, I have to be able to get any error messages to display in
english.

For example, I have this block of code that uploads a .jpg file to an
internal ftp server.
nConnectionID = FTPConnect(gsFTPServerEXPRESS, gsFTPUserEXPRESS,
gsFTPPasswordEXPRESS)
IF nConnectionID <> -1 THEN

// Insert your process here
FTPSend(nConnectionID,sImageFilePathEXPRESS,sImageFileNameExpress)
// Disconnection
FTPDisconnect(nConnectionID)
ELSE
Error()
END

In the event that it can't connect to the server, Error() returns an
error message in french
Publicado el 01,agosto 2013 - 14:46
I just thought that it was weird that the errors in the test emulator for windows mobile show up in english, but on the actual device they're french. Thought maybe I had something set wrong.

Thank you for the info.