MC_LANGUAGE and Welcome email

549 views
Skip to first unread message

Pierre Alain Carrier

unread,
Mar 20, 2013, 3:10:18 PM3/20/13
to mailchimp-...@googlegroups.com
Hi,

I'm using the API to add subscriber using listSubscribe and setting the member language with MC_LANGUAGE. This works fine as I can see the new subscriber and the language setting is set properly (either English or French (Canada)).

However, in the call to listSubscribe, I ask to send the Welcome mail, which is sent, but always in English. If the language is set to French (Canada), a line is added at the top of the email with "This page has been automatically translated. View in the original language", but the rest of the email is still in English.

In my list form setting, the Final "Welcome" email is set to Auto-translate and I've verified the translation in French. The preview shows the messages correctly in French.

What am I missing here? Is this a bug?

jesse

unread,
Mar 21, 2013, 1:06:28 PM3/21/13
to mailchimp-...@googlegroups.com
We have a fix for this, though it likely won't go out until tomorrow morning.


jesse

jesse

unread,
Mar 22, 2013, 8:21:12 AM3/22/13
to mailchimp-...@googlegroups.com
fixed.


jesse

Tod Cunningham

unread,
Jun 13, 2013, 7:23:58 PM6/13/13
to mailchimp-...@googlegroups.com

I'm also setting MC_LANGUAGE from the API, but I'm not seeing any of the e-mails being showing translated.  Here is a dump of the merge variables I'm setting.  

(lldb) po mergeVars
$0
= 0x0d822d70 {
    APPNAME
= PicrossHD;
    FNAME
= Tod;
    LNAME
= Cunningham;
   
"MC_LANGUAGE" = ja;
}

Is there something I'm missing?

Thanks,
Tod

jesse

unread,
Jun 14, 2013, 6:02:31 AM6/14/13
to mailchimp-...@googlegroups.com
Sounds like you're either not using a version of the API that supports it or haven't turned on the auto-translate option:
http://kb.mailchimp.com/article/can-you-translate-my-signup-forms-response-emails


jesse

Tod Cunningham

unread,
Jun 14, 2013, 9:36:12 AM6/14/13
to mailchimp-...@googlegroups.com
I think it was an issue with auto translate not being turned on.
--
You received this message because you are subscribed to a topic in the Google Groups "MailChimp API Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mailchimp-api-discuss/4sevnL7kc74/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mailchimp-api-di...@googlegroups.com.
To post to this group, send email to mailchimp-...@googlegroups.com.
Visit this group at http://groups.google.com/group/mailchimp-api-discuss.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Dirk Weimar

unread,
Jul 12, 2013, 8:18:45 AM7/12/13
to mailchimp-...@googlegroups.com
Hi,

I have a similar issue here. My setup is exatly the same as Pierre's. The auto-translated phrases in my optin mail are translated correctly according to the browser's language setting, but I'm struggeling with my customized text content. In the optin email's body I tried

*|IF:MC_LANGUAGE=de|*Bitte bestätigen Sie Ihre Newsletter-Anmeldung!*|END:IF|*
*|IF:MC_LANGUAGE=en|*Please confirm your subscription!*|END:IF|*
*|IF:MC_LANGUAGE=fr|*Veuillez confirmer votre inscription!*|END:IF|*

... but this does not work. It seems as if the *|MC_LANGUAGE|* tag is not yet filled at the moment the optin mail is sent, because if I try subscribing the same user once more, the above example works fine.

Any hints?

Best, Dirk

jesse

unread,
Jul 12, 2013, 8:34:24 AM7/12/13
to mailchimp-...@googlegroups.com
That has nothing to do with this thread or the API. Documentation and other support options are here:
http://kb.mailchimp.com/


jesse

Dirk Weimar

unread,
Jul 25, 2013, 2:45:20 AM7/25/13
to mailchimp-...@googlegroups.com
Hi Jesse,
To clarify: I am using the API (V 1.3) to add subscribers using listSubscribe and setting the member language with MC_LANGUAGE:

        // Get mailchimp API instance
        $oApi
= MailchimpApi::getInstance(); // Contains API key and List ID

       
// Collect data
        $sEmailAddr
='pe...@test.de';
        $aMergeVars
= array(
           
'FNAME' => 'Peter',
           
'LNAME'=> 'Test',
           
'MC_LANGUAGE' => 'de',
       
);

       
// Subscribe user
        $blSuccess
= $oApi->listSubscribe($oApi->list_id, $sEmailAddr, $aMergeVars);


So listSubscribe() triggers the optin mail. But the conditional language snippets like 

*|IF:MC_LANGUAGE=de|*Bitte bestätigen Sie Ihre Newsletter-Anmeldung!*|END:IF|*

still don't work as expected in that mail.

Dirk

jesse

unread,
Jul 25, 2013, 7:29:45 AM7/25/13
to mailchimp-...@googlegroups.com
If there's an issue there, it's API specific (as you said), which is why I referred you to the knowledgebase to double check your work and/or work with our general support staff for any general problems you're having.


jesse

Dirk Weimar

unread,
Jul 25, 2013, 8:45:55 AM7/25/13
to mailchimp-...@googlegroups.com
Hi Jesse,

I did double check the knowledge base and the API documentation. 

Also, I did ask the general support (ticket code: LTK12189069472X) and got this answer: 

"Unfortunately, the API is something that is a little above our heads here in general Tech Support. We'd first recommend checking out the API documentation found here: http://apidocs.mailchimp.com/ If the information isn't available there, this would be better answered by our API team, directly. They can be reached by posting questions to their Google Groups page located here: http://groups.google.com/group/mailchimp-api-discuss/topics"

I additionally searched this group and found someone with a similar problem (but no solution) over here: https://groups.google.com/forum/#!searchin/mailchimp-api-discuss/MC_LANGUAGE/mailchimp-api-discuss/Ja__zULZngU/Y9LcwlmLZWwJ


... So I thought that this group should be the right place for my answer :-)

Dirk

jesse

unread,
Jul 25, 2013, 10:27:11 AM7/25/13
to mailchimp-...@googlegroups.com
Sounds like you may have confused them by throwing in a whole bunch of unnecessary API mentions when your question was about using your list forms/emails, which is exactly what you lead with here, including mentioning having issues when not using the API. We can support API issues here - if it's something else in the app, support will handle it.


jesse

Festus Oviarumwense

unread,
Feb 17, 2014, 8:31:20 AM2/17/14
to mailchimp-...@googlegroups.com
Hi pierre Alain Carrier, please can you tell me how you set member language from listSubscribe, do you think this could work $merge_vars=array('MC_LANGUAGE'=>'it'); then ListSubscribe('12eb3c6c67',$email,$merge_vars)?
regards
festy
Reply all
Reply to author
Forward
0 new messages