×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Languages Getting Mixed

Languages Getting Mixed 9 years 10 months ago #29680

  • Ed
  • Ed's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi Guys,

All the normal messages come up in the correct language when people subscribe but I am getting some odd messages in English on the German site. Where do these messages come from? It comes up on my clients browser, I can't seem to recreate this behaviour.

www.dropbox.com/s/9n6ryr0bie6i9qr/image007.png?dl=0

"You are already subscribed to our newsletter." <- this has classes so I can style it no problem
"If you wish to change your subscription click here" <- no classes :(

I did see that the "default language" of the lists in CMC is set as "en" but I can't find anywhere to change this in the Component or even on Mailchimp.
www.dropbox.com/s/1bpxixwj6ntakxu/Screen...%2014.31.54.png?dl=0

Thanks for any help,
Ed

Languages Getting Mixed 9 years 10 months ago #29735

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Ed,
You could style the messages with css by using :second attributes for the div :) But you could also do a template override of tmpl/signed.php and add your classes if you want to have one.

About the language -> that is interesting - it seems that mailchimp is not giving us the default_language info for the list so we fallback to the default value of EN.

I think that the language for the list is set when you go to edit the form in mailchimp and then on the translate it tab. Is it set there?

Regards,
Daniel

Languages Getting Mixed 9 years 10 months ago #29795

  • Ed
  • Ed's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi Daniel,
thanks, I'll override it with a css selector.

Regarding the language, it was the previous developers' fault. He set up a load of Form Overrides but never set the default language of the list. So I changed the German language to test, resynchronised, but I'm still getting an English message:
www.dropbox.com/s/ct0v563ai6aa0f8/Screen...%2016.01.06.png?dl=0
The language is set correctly now:
www.dropbox.com/s/1z3ups71ykvvslb/Screen...%2015.43.34.png?dl=0

Could this be something to do with cache because it has been set as English all along?
Cheers,
Ed

Languages Getting Mixed 9 years 9 months ago #29899

  • Ed
  • Ed's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
I really need some help on this guys. Pwetty pwease.

Languages Getting Mixed 9 years 9 months ago #29911

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The validation message comes from your browser and not the component. So "please select one of these options" is from the browser and not the component.
The next one is comming from the component. The question is have you installed the german language pack for CMC and does it contain the translation for this string?

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.106 seconds