Skip to content Skip to sidebar

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

Problem:
The client was unable to translate the woofunnel checkout as the translation strings were not appearing, even after following the steps in the WPML documentation for finding strings that don't appear on the String Translation page.

Solution:
We advised the client to ensure that the Checkout template they created is accurately translated into other languages. The String Translation plugin may not be effective in this scenario. Instead, the client should manually create a separate template for each language and add content to each template in its respective language. We provided a guide to help with setting up funnels with WPML:

Once the translated templates are correctly set up, the contents added to these templates should display correctly when switching languages.

If this solution is not relevant due to being outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please contact us in the WPML support forum.

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 topic contains 8 replies, has 3 voices.

Last updated by anaL-5 1 year, 3 months ago.

Assisted by: Prosenjit Barman.

Author Posts
April 10, 2024 at 6:28 am #15502183

anaL-5

Hi,

I am trying to translate the woofunnel checkout but the translation strings are not appearing. I tried all the steps described in https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/.

I tried several times but they are still not showing.

Can you help me please?

Screenshot 2024-04-10 at 07.40.25.png
April 10, 2024 at 7:41 am #15502483

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

Before this ticket gets assigned to my colleagues, I will try to help.

The proper way to translate strings depends a lot on how they have been implemented inside the theme/plugin.

IMPORTANT: Sometimes, there are even duplicates of the same string and only one of them is the correct one that needs to be translated.

Also, sometimes, simply removing the string (checking the box and removing it) and then re-registering it again by scanning for it (one of the methods below) and re-translating it resolves the issue (sounds like you did this already so let's focus on finding the duplicates that are still NOT translated).

From what I can see, you said thst you already tried a few methods but I am curious if you were able to try the method 1 below, too (I guess you tried method 2 already) - please let us know.

1. Method 1:

Go to WPML > String Translation and at the bottom of the page you will find a checkbox called "Look for strings while pages are rendered". You can enable (check) that and then go in the front end to a page where you have that string showing up and then go back to WPML > String Translation and search for that string and see if it now shows up.

2. Method 2: If you can't find them inside the WPML > String Translation, they might be added as admin text.

This should be the normal process to find and translate admin text strings:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please let us know how that goes.

Kind regards,
Mihai Apetrei

April 10, 2024 at 7:53 am #15502546

anaL-5

Thank you.

The strings are not appearing, so i cant de-register them.

I tried auto-register strings and i scanned all plugins and themes!

April 10, 2024 at 7:54 am #15502565

anaL-5

They are dynamic fields by the way.

April 10, 2024 at 12:00 pm #15504448

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well.

I've taken over this ticket and would be happy to assist you further in this matter.

You indicated in your previous message that the Texts are included through dynamic fields. It's possible that the translation setting for those fields hasn't been configured to "Translatable." Could you please provide a screenshot showing where you're adding these texts?

To delve even deeper, you could use your browser's inspection tool to inspect the field and determine its ID. With this ID in hand, you can go to "WPML > Settings > Custom Field Translation," search for the field by its ID, and change its setting to 'Translatable' if you find that in the result.

For more details about configuring translation settings for the field, please check this doc: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

Please let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

April 10, 2024 at 6:52 pm #15506263

anaL-5

I added a screenshot to the first message.

I tried using the inspection tool to find the ID but I can't find anything like that in the list of domains in the string translation. I tried that is why I mentioned it is dynamic fields. They are not showing in the translation editor when I translate the rest of the elementor page, the rest is translating fine. It is only the checkout form, checkout button and text below the checkout button.

Screenshot 2024-04-10 at 20.48.43.png
Screenshot 2024-04-10 at 07.40.25.png
April 10, 2024 at 7:04 pm #15506303

anaL-5

also i added the post type

Screenshot 2024-04-10 at 21.04.03.png
April 11, 2024 at 11:13 am #15508706

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the update.

I've viewed the screenshot, but I wanted to check the text's location in the backend, not on the frontend.

However, I've installed the Funnelkit plugin in my development environment and successfully identified the location. To ensure the form texts are translated properly into other languages, it's important to ensure that the Checkout template you've created is accurately translated into other languages. The String Translation plugin won't help much in this case.

Please check the guide below and make sure that the Checkout template that you've created has been translated accordingly.

- hidden link

You'll need to manually create a separate template for each language, adding content to each template in its respective language. Once you've correctly set up the translated templates, the contents added to the translated templates should display correctly upon switching languages.

Let me know how it goes. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

April 11, 2024 at 8:05 pm #15510924

anaL-5

I did that.

The problem was WPML was still redirecting to the wrong page, or showing the translation from the translation manager.

I fixed it by deleting the checkout page in wordpress and making a new one.