Skip Navigation

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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year ago.

Assisted by: Prosenjit Barman.

Author Posts
November 1, 2023 at 3:35 pm #14708861

olivierA-13

I am using elementor + ACF + WPML. On this product page (it's a elementor template):
hidden link
I have a FAQ section (if you scroll all the way down). There I have the question: "Is this a self-guided walking tour through Schaffhausen?".
The text is generated from an ACF Field "City Name Display" + the text "Is this a self-guided walking tour through". I am unable to translate this text. Everywhere else on the page it works. I feel that it only doesn't work in the Toggle Elementor Element where I use ACF.

Screenshot 2023-11-01 at 15.03.05.png
Screenshot 2023-11-01 at 14.57.57.png
November 2, 2023 at 1:23 pm #14717099

Prosenjit Barman
Supporter

Languages: English (English )

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

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're having and will try my best to address it.

Since the text is added within the default Toggle widget of Elementor, it should appear in the Translation editor for translation. Would you please check if you can translate that from the translation editor? Please try the following steps.

- Open the default post in the WordPress editor and make a small change in the title.
- Save the changes and try to update the translation
- Search for the text within the Translation editor and if it appears in the result, add the translation from there.

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

Best regards,
Prosenjit

November 2, 2023 at 3:52 pm #14718973

olivierA-13

Hi Prosenjit

Thanks for your help. I tried the described steps but unfortunately the texts still don't show up in the translation editor...

November 3, 2023 at 7:24 am #14722881

Prosenjit Barman
Supporter

Languages: English (English )

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

Hello There,
Thank you for the update.

Given that you have Object caching and an optimization plugin activated on your website, could you kindly clear the caches from those sources and attempt to retranslate the template again?

If the issue persists, a closer inspection will be required to understand the root cause of the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields 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.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup 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

Looking forward to your response.

Best Regards,
Prosenjit

November 7, 2023 at 7:39 am #14743697

Prosenjit Barman
Supporter

Languages: English (English )

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

Hello There,
Thank you for sharing the access information.

During the investigation, I found that the Translation preference for the "City Name Display" field was set to "Not Translatable". The before field content is supposed to appear only when the field data is rendered. Since the Translation preference for the field was set to "Not translatable", the field data is not supposed to appear in the translation editor and as a result, the Before contents were not showing in the editor.

So, I went to "ACF > Field Group > Trail - Information" and set the Translation preference for the "City Name Display" field to Translatable.

Once it was done, I opened the Single Product template in the Elementor editor and made a small change to trigger the translation update. But, for some unknown reason, the update was not showing and even after opening the translation editor, newly added content wasn't showing there.

To see if the same is happening with other templates or not, I saved the main Single Product template in Elementor Library. After that, I created another Single Product Template(named '[New] Single Product Template') and Inserted the main single product template within that template.

After saving the changes, I tried to update the translation and found that the 'Before' field contents appear properly in the Editor. Please check this screenshot: hidden link

The translations were also accurately displayed in other languages (German and French) without any complications.

Given that the Main template has already been translated, the editor should automatically retrieve the translation from the Translation memory when you begin translating the newly created template. To ensure the template functions properly in the remaining languages, please proceed with completing the translation.

I hope you can understand. Please check and let me know if that helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

November 7, 2023 at 3:21 pm #14749037

olivierA-13

Hi,
I did further investigation and I figured out what the problem was. The Template contained the Elementor element "Testimonials" which caused the problem. After removing this, all the translations were correctly in WPML. So I guess there is a problem somewhere between WPML and this Element. Anyways, i could solve my problem. Thanks!