PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Localizing the email Advanced Field

  1. How can I localize the 'Enter email' and 'Confirm email' descriptions below each field for the email Advanced Field?

    Posted 10 years ago on Wednesday March 9, 2011 | Permalink
  2. By creating a language translation of the POT file that is in the /languages folder for the appropriate language.

    They can also be changed individually using filters if you don't want to mess with a PO translation.

    The filters are:

    gform_email
    gform_email_confirm

    An example of how to use one is:

    <?php
    add_filter("gform_email", "change_email", 10, 2);
    function change_email($label, $form_id){
    return "My Custom Sublabel";
    }
    ?>

    This code would go in your themes functions.php file.

    Posted 10 years ago on Wednesday March 9, 2011 | Permalink
  3. Super, thanks! Are all these filter documented somewhere, by any chance? I've seen a list in another post, but don't recall seeing these filters.

    Posted 10 years ago on Wednesday March 9, 2011 | Permalink
  4. They will be in when the final 1.5 version is released very soon.

    Posted 10 years ago on Wednesday March 9, 2011 | Permalink
  5. Trying to find same filter / hook for the File and Caption fields on post image field type.

    Is the updated documentation you mention for the now released 1.5 going to be something close(r) to the WP Codex where all functions, filters, hooks, etc are listed and described?

    Update
    Very much so - http://www.gravityhelp.com/documentation/page/Gform_postimage_file

    Great job guys!

    Posted 10 years ago on Monday April 4, 2011 | Permalink
  6. Yes, it is similar to the WP Codex. All filters/hooks are listed and described.

    Posted 10 years ago on Monday April 4, 2011 | Permalink