Hi,

I'm using the module on an international site to expose a form for subscription.
I've enabled the MailChimp Signup module, and enabled the block generated on my footer region.

I'd like to translate the label generated by the module "Email Address" in french. But the string is not available in the translation interface.
It is possible to enable the translation for the fields generated in these forms ?

Screenshot added with my block configuration and its position in my site in the French version.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

asplamagnifique created an issue. See original summary.

asrob’s picture

juampynr’s picture

Anybody’s picture

Please see https://www.drupal.org/node/2822227#comment-11836593 for further discussion also.

asrob’s picture

  • asrob authored a6327f3 on 8.x-1.x
    Issue #2821153 by asrob, juampynr, asplamagnifique: Translation for...
samuel.mortenson’s picture

Status: Needs review » Fixed

Thanks all!

cwarts’s picture

Hello,

i´ve just tested the patch and want to inform you that it doesn´t work.

When i open the subscription form i see the following error message:

"InvalidArgumentException: $string ("Email Address") must be a string. in Drupal\Core\StringTranslation\TranslatableMarkup->__construct() "

Can you plz check this again?

Thanks

samuel.mortenson’s picture

Status: Fixed » Needs work

Putting in needs work for #8, I'll look into this.

samuel.mortenson’s picture

Status: Needs work » Needs review
FileSize
407 bytes

@cwarts Could you try this patch and let me know if it resolves you issue?

cwarts’s picture

Hi,

i applied the patch in #5 and #10 and now it works :-)

Thank you

  • 8323f6b committed on 8.x-1.x
    Issue #2821153 Follow up.
    
samuel.mortenson’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.