Hello, I'm using the MailChimp module to display some signup forms on a Drupal site. The forms are translated into a few languages, and for the most part all the translations for messages used in the forms are handled through the MailChimp interface, or through string overrides on the Drupal side. However, when a user attempts to submit the form with an incorrect email address, the form returns this error: "Invalid Email Address: [whatever incorrect text was entered]". The problem is that "Invalid Email Address" displays in English no matter what language we've set for the form, because we can't find the string in order to translate it. The phrase doesn't appear anywhere in the MailChimp form setup, and we can't find it in the module files either. Does anyone have any idea where it would be coming from or how to translate it? Thanks in advance!
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1689730-mailchimp_translate_error_codes_from_api-2.patch | 949 bytes | undertext |
Comments
Comment #1
levelos commentedComment #2
undertext commentedIt seems that MailChimp API returns error messages only in English language.
Here is the patch with some workaround to allow translate messages like that.
Comment #3
undertext commentedComment #4
amytswan commented“And now our watch [for support of the 7.x-2.x version of the MailChimp module] has ended…” With the approaching deprecation of MailChimp’s API version 2.0, I’m sad to say we too must turn the page. This branch will become unsupported in early October and officially deprecated by the end of this year (2016).
Fret not! The 7.x-4.x and 8.x versions come highly recommended. Both are using Mailchimp’s new API 3.0 and are being actively maintained. If you find this issue still exists on either the 7.x-4.x or 8.x branches, let us know by opening a new ticket. “What is dead may never die, but rises again, harder and stronger!”