• Resolved gabros20

    (@gabros20)


    Hi guys,

    I’m using Mailchimp for WordPress plugin. I have also installed WP Multilang.
    In the Mailchimp plugin, I created a subscription set and I want to add hungarian translation too. The two language English / Hungarian tab appears in Mailchimp plugin after I added the Hungarian language to WP Multilang. But when I switch to the Hungarian tab and fill the subscription set with the translation and switch back to the English tab, the English one gets overwrote with the Hungarian one. So language switcher doesn’t work as expected. Am I missing something here that I supposed to set up as well? I see a message here: “For multilingual string, use syntax like [:en]Text on english[:de]Text auf Deutsch[:].”
    How should I do the translation to get it switch language properly?

    This is the Mailchimp form code, how I tried:

    
    <div class="mailchimp_sudbscribe" style="padding-top:42px">
    <h4>
     [:en]Subscribe for monthly newsletters & special offers![:hu]Iratkozz fel a havi hírújsárgra és kül?nleges ajánlatokra![:]
    </h4>
    
    <p>
    	<input type="email" name="EMAIL" placeholder="[:en]Subscribe[:hu]Email címed feliarkozáshoz...[:]" required />
    </p>
    
    <p>
    	<input type="submit" value="[:en]Subscribe[:hu]Feliratkozom[:]" />
    </p>
    </div> 
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gabros20

    (@gabros20)

    Oh and I’m no developer, just an enthusiast do it yourself WordPress tinker.
    Thanks! ??

    Hi @gabros20,

    I can’t help you with WP Multilang, maybe there is a way to do it with their plugin, I’m just not sure.

    We suggest users of MailChimp for WordPress to make multiple forms, 1 per language, and set the shortcode to each form based on language. That way you control everything, not just the field labels, but also the list, interest groups, success messages etc. per language.
    For multiple form you need the Premium add-on: https://mc4wp.com/premium-features/

    Hope that helps. If you have any questions, please let us know!

    – Mailchimp for WordPress Support.

    Hi @lapzor
    You need add code like here:

    
    [:en]<p>
    	<label>Email address: </label>
    	<input type="email" name="EMAIL" placeholder="Your email address" required />
    </p>
    
    <p>
    	<input type="submit" value="Sign up" />
    </p>[:uk]<p>
    	<label>Email address: </label>
    	<input type="email" name="EMAIL" placeholder="Your email address" required />
    </p>
    
    <p>
    	<input type="submit" value="Sign up" />
    </p>[:]
    

    Awesome, good to know.

    Thanks.

    Thread Starter gabros20

    (@gabros20)

    Thanks, @lapzor!

    Yeah, the Premium add-on gives quite a bit of extra features, which could be very handy at some point. Hover, I just need the strings to be translated with a switch for now. Maybe later when I can afford the extra features. ?? (garage project)

    Thanks again for your help!

    Thread Starter gabros20

    (@gabros20)

    Thanks, @valexar!

    That’s just what I was wondering about. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mailchimp Plugin Translation’ is closed to new replies.