Plugin Contributor
Tracy Levesque
(@liljimmi)
🏳️🌈 YIKES, Inc. Co-Owner
Hello @wordmarcel
Here is a guide to translating labels, placeholder text and everything else for your forms: https://yikesplugins.com/the-ultimate-guide-to-translating-mailchimp-forms-on-wordpress-sites/
Please let me know if you need more information.
Stay safe!
-Tracy
Hello,
I found those.Unfortunately this does not work for the address field, since it does not allow custom placeholder text since it takes the strings directly from mailchimp!
Plugin address field notice
Mailchimp address image
-
This reply was modified 6 years, 2 months ago by
wordmarcel.
Hello,
I was wondering if you have already been able to check this issue.
Greetings,
Marcel
Plugin Contributor
Freddie
(@fmixell)
@wordmarcel,
You’re correct the placeholder for the address field is coming directly from MailChimp.
As a workaround for now you could use a filter to change the placeholder text.
add_filter( 'yikes-mailchimp-address-addr1-placeholder', function( $placeholder ) {
// Use functions from whatever translation plugin your using to determine current language.
// Example lets say the language is French.
$lang = 'french';
if ( $lang === 'french' ) {
return 'Adresse';
}
return $placeholder;
} );
If you let me know what you’re using for translation I can fill in the gaps a little better.
Cheers,
Freddie