This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Our next available supporter will start replying to tickets in about 5.69 hours from now. Thank you for your understanding.

This topic contains 3 replies, has 2 voices.

Last updated by Noman 3 months, 4 weeks ago.

Assigned support staff: Noman.

Author Posts
January 24, 2019 at 1:20 am #3122827

robinW-7

Tell us what you are trying to do?
-Hi, I'd like to translate the contact-us and subscribe button from English to Spanish on this page: hidden link . I've checked the string translation list, translated all the "contact us" and "subscribe" text, but it doesn't work at all. Could you please check for me?

January 24, 2019 at 9:32 am #3124228

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

1. I have wrapped contact us button text in gettext function to make it translation ready. To do this, I have replaced below code:

<a href="#contact_popup" class="fancybox-inline" id="fancybox-hp-contact-form">Contact Us</a>

with:

<a href="#contact_popup" class="fancybox-inline" id="fancybox-hp-contact-form"><?php _e('Contact Us','themedomain'); ?></a>

And issue is gone and it looks as in attached screenshot. If you want to update translation, you can do it from WPML >> String Translation as in attached screenshot.

2. To translate subscribe button you need to use MailChimp for WordPress Multilingual addon:
- https://wpml.org/download/mailchimp-for-wordpress-multilingual/
- Doc: https://wpml.org/documentation/related-projects/mailchimp-for-wordpress-multilingual/

Thank you

January 25, 2019 at 8:47 am #3128175
robinW-7

Hi Noman,

Thank you for your help. I just translated the contact us button in OEM page following your method, great!
While, could you please also check the "Explore Now" button in this page? hidden link
This button is created in Slider Revolution.

Best regards.

New threads created by Noman and linked to this one are listed below:

https://wpml.org/forums/topic/slider-revolution-button-translation/

January 27, 2019 at 6:22 am #3132387

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

I have created a new ticket for slider revolution button translation issue, since this is a separate issue. Here is the link to the new ticket:
https://wpml.org/forums/topic/slider-revolution-button-translation/

You may mark this current ticket as resolved and we will continue to work on the new ticket.

Thank you for your cooperation and patience.