WordPress.org

Ready to get started?Download WordPress

Forums

Google Forms
[resolved] Controls in french, error messages in english (5 posts)

  1. Pimouls
    Member
    Posted 8 months ago #

    Hi, I'm having a language problem with my Google Form.

    I wan't to display everything in french (and it works for labels and buttons) but the error messages (like "this field is required") are in english.
    I've checked that I have ?hl=fr" in the form URL, and now I have no clue how to solve that problem !

    Does anyone know how to solve it ?

    Thanks ;)

    http://wordpress.org/plugins/wpgform/

  2. Mike Walsh
    Member
    Plugin Author

    Posted 8 months ago #

    The error messages come from the jQuery Validate plugin and by default, are in English. I recently added the hooks to allow translation of these messages if someone (hint, hint) wants to provide a language translation package.

    I don't speak French and just a little bit of Spanish so I am unable to do the translations myself but when they are contributed I try to include them quickly. I did update the translation support files in the most recent release.

  3. Pimouls
    Member
    Posted 8 months ago #

    Ok, I'm gonna try to do something about that, and I'll let you know !

    Thanks a lot for your quick answer :)

  4. Pimouls
    Member
    Posted 8 months ago #

    Hi again,

    I managed to get what I wanted by editing the core.php file and replacing the message "This field is required".

    I really don't know how to make a translation package, sorry !

  5. Mike Walsh
    Member
    Plugin Author

    Posted 8 months ago #

    That will work until I release an update! I have never translated a plugin but I have coded the plugin so it can be translated. The translation process is outlined here on the WordPress Codex. The POT files mentioned are already generated and included with the plugin.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.