Date:  02/11/2002 07:12:33 AM Msg ID:  000366
From:  John Waite Thread:  000353
Subject:  PS
Dear Foxweb Support,

If you should need anything translated from English into French, Spanish, Portuguese, Italian or German at any time, just let me know. I would be more than happy to help. No charge, either.

JW

Sent by FoxWeb Support on 02/10/2002 07:14:24 PM:
The messages returned by the Auth Object are always in English and are not customizable.  A future version may tackle this issue, but this project is not in our short term plans.

FoxWeb Support Team
support@foxweb.com

Sent by John Waite on 02/10/2002 11:24:20 AM:
Dear Foxweb Support,

I write programs for various language users and am setting up an authform.fwx for a Spanish client at present.

The code below works fine, changing User ID to "Usuario" and Password to "Clave", but I can see no way of changing the message one gets when an incorrect id or password is entered.

As it stands, I get:

"Authentication failed. Please re-enter your Clave.", which is a lovely mixture!

I tried Auth.Message = "Incorrecto", but of course that was being too hopeful.

Could you let me know if there is a way to do this? I have looked very carefully in the Foxweb Documentation but found no references to this. If not, perhaps you could bear this possibility in mind for future versions.

I look forward to hearing from you.

John Waite

Code used:

*************************************************

Auth.AuthFormFile = "c:\bugle\acs_authform.fwx"
Auth.AuthTable = "c:\bugle\a_clientes.dbf"
Auth.UserIDFieldName = "cid"
Auth.PasswordFieldName = "cpass"
Auth.MaxLoginAttempts = 3

Auth.UserIDCaption = "Usuario"            && OK
Auth.PasswordCaption = "Clave"            && OK
*Auth.Message = "incorrecto"            && ??

Auth.CancelAction = "window.location='http://localhost/arcolocal/acs_nuevo.htm'"
Auth.SaveCookie = 1
Auth.Header = [<DIV ALIGN="center"><H3>Zona Protegida.</h3>]
Auth.Footer = [&copy;&nbsp;2002&nbsp;Bugle Marketing Ltd.]
Auth.ForgetPassword()
Auth.Authenticate()

**************************************************