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.

This thread is resolved. Here is a description of the problem and solution.

Problem: I am using the Shopkeeper theme and I want to translate a WooCommerce string.

Solution: https://wpml.org/forums/topic/mailchimp-for-woocommerce-string-not-translated/#post-4199367

Relevant Documentation: https://wpml.org/documentation/getting-started-guide/translating-theme-options/

This topic contains 7 replies, has 2 voices.

Last updated by andreiG-7 3 months, 1 week ago.

Assigned support staff: Mihai Apetrei.

Author Posts
July 10, 2019 at 7:08 pm #4183997

andreiG-7

I am trying to: Translate the option checkbox in the checkout page: "I want to subscribe to the newsletter" - this text comes from the plugins settings, and we can customize it there. We are using the official MailChimp for Woocommerce plugin integration from Mailchimp. We had this string in the string translator, but it's translation did not appear on front-end. We then deleted the string, and not it will not re-register the string.

Link to a page where the issue can be seen: checkout

I expected to see: in RO version - the translation of "I want to subscribe to the newsletter"

Instead, I got: the same as in EN

July 10, 2019 at 9:36 pm #4184599

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi Andrei and thank you for contacting WPML Support!

I will be more happy to help you with this.

So, here are a few things you could try and let's see if that solves the issue.

1. For re-registering the string, you could go to WPML -> Theme and plugins localization where you should be able to re-scan the plugin that's generating the string and then go back to WPML > String Translation, search for it and see if the string shows up now in the search results.

Here you can find more about that process:
https://wpml.org/documentation/getting-started-guide/theme-localization/

2. If you still can't find it inside WPML > String Translation, that string might be registered as admin text.

This should be the normal process to translate admin texts:
https://wpml.org/documentation/getting-started-guide/translating-theme-options/

If you still can't find it, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of the site files and database before providing us access.

- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.

The private box looks like this: hidden link

I will be waiting for your response.

Kind regards,
Mihai Apetrei

July 11, 2019 at 4:26 am #4186049

andreiG-7

hi,

already tried those steps with no luck.

how can I enable wpml on dzv.craiasa.eu (test env) so you can take a look there?

thanks

July 11, 2019 at 4:20 pm #4191827

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for the info.

You should be able to download the WPML plugins from under your WPML.org account and install them on your site, then go here (https://wpml.org/account/sites/), create a new license key for your dev site and then go to your dev site's backend > Plugins > Add new > Commercial and add the key you just registered.

After that, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of the site files and database before providing us access.

- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.

The private box looks like this: hidden link

I will be waiting for your response.

Kind regards,
Mihai Apetrei

July 12, 2019 at 1:40 pm #4199367

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for the information.

It seems that it is registered as an admin text.

I was able to find that string by going to WPML > String Translation > Translate texts in admin screens (hidden link) > then search for "mailchimp-woocommerce" on the page, click on it and there will be a lot of strings loading underneath > search for "vreau sa ma abonez" > check the box > scroll down the page and hit Save.

Now, you should be able to go back to WPML > String Translation and find the strings.

I will also attach a screenshot so that you can understand what I mean.

Please let me know if this solved your issue or if you still need help.

I will be waiting for your response.

Just a note that I won't be working on the weekend so I will be able to get back to you at the beginning of next week.

Kind regards,
Mihai

July 12, 2019 at 2:08 pm #4199569

andreiG-7

Wow!

Thank you very much.

I was able to fix it on the live site as well.

I wasn't aware of the "colapsed" state of the strings. That's why I did not find it in the first place in the admin strings. I was looking with CTR+F in page and I did not get any result, looked for the string, looked for newsletter-label .. nothing 🙂

I've spent quite a lot of hours debugging, trying to register via XML ... and the solutions was so simple.....

This is a bit counter intuitive to have those strings collapsed....

: Dar bine ca s-a rezolvat, mersi mult! Cred ca puteam sa discutam in romana de la inceput nu :)?

Mersi,

Andrei

July 12, 2019 at 3:58 pm #4200331

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Ha ha!

Yes, Andrei, you're right.

We could have talked straight into Romanian (especially that we know each other already from multiple places like eLiberare where we've met some years ago or Bunavestire where we've met multiple times) but this is the English Support Forum so keeping the conversation in English will be a better long-term solution taking into consideration that there might be other customers that might encounter the same issue and seeing the solution in English will help them understand what we are talking about.

It was a pleasure to meet you here, too and if I'll ever see you again in real life, I will make sure I stop and say hello. 🙂

Now, going forward, can you please mark this ticket as resolved, too?

And please never, but never hesitate to get back to us whenever you need more help with our products.

We are always happy to help!

Kind regards,
Mihai

July 12, 2019 at 7:08 pm #4201329

andreiG-7

My issue is resolved now. Thank you!