Error Messages incorrect language

Discussion in 'Troubleshooting' started by binbin, Nov 1, 2008.

  1. binbin

    binbin New Member

    Joined:
    Jan 29, 2008
    Messages:
    38
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    If I remember correctly, java script error messaging is not translated via language files. Instead it needs to be manually adjusted.

    \amember\includes\jquery\jquery.validate.js

    in 3.14 it is line 206:

    required: "This field is required."

    regarding accents showing up as weird characters, my initial thought would be 1 of 2 things:

    1) client side browser encoding settings
    2) the language file needs to be saved as unicode and not ANSI
  3. binbin

    binbin New Member

    Joined:
    Jan 29, 2008
    Messages:
    38
    Yes that's what I have did I have change all english error message of this file in french but there are always display in english I really don't understand..
    (I have clean the cache of my browser)

    For punction if I save the fr.php with unicode text, the error messages are correclty displayed but all punction on the name fields use weird characters...
  4. erwinvdb

    erwinvdb aMember Pro Customer

    Joined:
    Aug 30, 2007
    Messages:
    264
    Hi skippybosco,

    I translated each of the messages on lines 206-230, but I still get "This field is required."
    I've cleaned up the cache of Firefox 3 and since that didn't work I tried IE7 (with nothing in cache). Unfortunately I get the same problem there too. Any ideas?

    Regards,
    Erwin
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
  6. erwinvdb

    erwinvdb aMember Pro Customer

    Joined:
    Aug 30, 2007
    Messages:
    264
    Yes, that's the file that I edited. The changes are shown correctly when I browse there.
    HOWEVER, the signup page still shows the English text...
  7. erwinvdb

    erwinvdb aMember Pro Customer

    Joined:
    Aug 30, 2007
    Messages:
    264
    Solved!

    Ok, I just received the solution from the support desk:

Share This Page