WordPress.org

Ready to get started?Download WordPress

Forums

MailChimp List Subscribe Form
Changing error/confirmation messages? (20 posts)

  1. jamessui
    Member
    Posted 1 year ago #

    Hello,

    I was wondering it was possible to change the text for the confirmation and error messages in this plugin? I can't seem to work out how to do it.

    Thanks,
    James

    http://wordpress.org/extend/plugins/mailchimp/

  2. mc_nate
    Member
    Posted 1 year ago #

    Hey there, James!

    Excellent question. :)

    Your best bet is going to be to edit the PO file that comes with the plugin. From there, you'll be able to rewrite the error or success messages and re-upload the file. Check out this general information on translating the plugin:

    http://wordpress.org/extend/plugins/mailchimp/other_notes/

    Give us a shout if we can assist in any other way!

    Cheers

  3. jamessui
    Member
    Posted 1 year ago #

    Thanks for the reply. I've tried editing the mailchimp_i18n-en_US.po file but it doesn't seem to have any effect (I'm using default WordPress language setup). Is that the right file?

  4. mc_nate
    Member
    Posted 1 year ago #

    Hey again!

    Sorry, I missed a critical step there, you'll also want to update the .mo file, as well. The easiest way to do that is to use POEdit (linked in the "other notes" area). Once you upload the PO and MO files, you should be good to go!

    Here's how things looked on my end:

    Screenshot -- http://cl.ly/image/311f1Q210I0J

  5. jamessui
    Member
    Posted 1 year ago #

    Excellent! Thanks very much for your help.

  6. mc_nate
    Member
    Posted 1 year ago #

    Happy to help, James!

    Let us know if we can help with anything else. :)

  7. Lenin
    Member
    Posted 1 year ago #

    I have found that mailchimp_i18n-en_US.po file is not as updated as the mailchimp.pot file in the plugin's latest version. The last four strings are missing in all the .po files which are at the .pot file.

  8. Lenin
    Member
    Posted 1 year ago #

    Also, could you please check if I have missed anything in the PO. I know I'd have to set the language. But what about base path and other settings?

    I would like to share the .po file link here for your review which I would change for some settings I guessed that I need to change. But what are the standards?

    This is my contributed ar_SA.po file.

  9. Lenin
    Member
    Posted 1 year ago #

    And I just finished compliling for Bangla, Bangladesh. The file for bn_BD.po

  10. mc_tak
    Member
    Posted 1 year ago #

    Hey Lenin,

    I provided a detailed step-by-step on how to get those .po files working in the other thread you replied to, so definitely check that out when you have a moment!

    In regards to the standards of the PO file, I'd recommend referencing the translation files that we include with the plugin's default installation. These can be referenced in your WordPress folder structure under plugins > mailchimp > po.

    Try selecting a file there like "mailchimp_i18n-en_US.po" and opening it up in your text editor or POEdit. I prefer POEdit as it provides an easy column-based interface to edit your translations, so it helps me to ensure that everything is lined up correctly and being recognized in the proper format.

    If you have anymore questions, let me know!

  11. Lenin
    Member
    Posted 1 year ago #

    I have actually translated them using poEDit ofcourse and placed the generated .po and .mo to the plugins/mailchimp/po as well.

    On the provided link for the po files you'd see that I have saved configurations from poEdit too.

    I posted on SO while not getting your responses.

  12. pooledge
    Member
    Posted 1 year ago #

    hi mc_tak and mc_nate!

    I might have a little different question regarding those messages: everytime email is not present and submit is clicked it's an error message being inserted above the input. Since all those errors are displayed per alert, I'd like to have it here also. But till now I didn't find a way to interrupt MailChimp's validation by mine. I tried to add my js function both onsubmit for the form and onclick for submit button - no effect. I know it's rather a minor wish, but since "code is poetry" I'd like to keep my whole website running clean and consequent.

    Thank you in advance for your help - it's very appreciated
    Best wishes from Vienna

    pooledge

  13. mc_tak
    Member
    Posted 1 year ago #

    Hey there,

    Hmm, I'm having a bit of trouble understanding. Can you give me a link to the sign up form that you're working on? Also, can you elaborate a bit what you're specifically looking to change in regards to the error messages?

    thanks!

    -tk

  14. pooledge
    Member
    Posted 1 year ago #

    Hi mc_tak,

    here you go: http://www.brick-5.at/v2/newsletter
    When you forget to fill in the E-Mail, the build-in MC error will be displayed.
    No go to http://www.brick-5.at/v2/kontakt and try to cheat there.

    Thank you

    pooledge

  15. mc_tak
    Member
    Posted 1 year ago #

    Hey there,

    I'm seeing the error message "Bitte E-Mail-Adresse auszufüllen" appear at that first link. Were you looking to change this error message?

    On the second link I'm seeing the error message "FEHLER: Bitte fülle die erforderlichen Felder aus (Name, E-Mail-Adresse)." Were you looking to change this error message? If so, this error message is not generated by our plugin, since the form on this second site (kontakt) is not using the WordPress MailChimp plugin.

  16. pooledge
    Member
    Posted 1 year ago #

    Hi mc_tak!

    Thank you for your answer!
    No no, I've already found a way to change the message. My question is actually not about the message itself but rather about a method to display this message. I simply would like to get a js alert when E-Mail-Adresse -field is empty, rather then a reloaded page with an error message.

    Sorry for not being clear enough...
    P

  17. mc_tak
    Member
    Posted 1 year ago #

    Hey hey,

    It sounds like you're looking to incorporate an on-page error message when your contact form is submitted without the email address field filled. Unfortunately, this is outside of our range of support, since the contact form is not utilizing the WordPress-MailChimp plugin. Your best bet would be to reach out to a developer for more info on how to incorporate those types of error messages on your custom contact form.

    -tk

  18. pooledge
    Member
    Posted 1 year ago #

    alright, but thank you anyway!
    p

  19. rgodke
    Member
    Posted 1 year ago #

    J installed and set up the mail chimp form widget. Everything went well but I can not find the form on the website. Where is it, and do I have control were it goes?

    http://homegardeningforbeginners.org/

  20. mc_tak
    Member
    Posted 1 year ago #

    Hey hey rgodke,

    After the plugin's been installed, you'll want to go through 2 more steps.

    1) Go into your plugin settings by going to your WordPress Admin area, then plugins > installed > MailChimp > settings. Connect your list there.

    2) Then, add the form to your layout. To do this, login to your WordPress Admin area, then go to Appearance > Widgets. Click and drag that widget to where you want it to be.

    You also have a few more advanced implementation options, which can be found here:

    http://wordpress.org/extend/plugins/mailchimp/installation/

    Let me know if you have anymore questions!

    -tk

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags