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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 6 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
December 10, 2023 at 6:30 pm #15031835

carstenM-14

Why does the translation duplicate the description of the woocommerce products below?

What is the link to your site? for example:
hidden link

December 11, 2023 at 8:13 am #15033505

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Hi,

Thank you for contacting the support.

I can see the problem but looks like that in the design there are more than one description areas included. This may happen, for example, if your theme is providing a default section while you've also included a page builder module to show the same thing - thus outputting the same thing twice.

Please check your design like a template or layout being used to present product single pages.

Besides this, you may also try the following:

IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.

- Deactivate all plugins except WPML, WooCommerce and its addons and check for the issue.
- Activate each plugin one-by-one, while keeping check on the issue after a plugin is activated. This way you'll be able to pinpoint a plugin having a conflict (or problem), if any.
- If the problem persists, repeat the above steps with a default theme of WordPress (i.e. 2021 or 2023).

Please let me know your findings and I'll try my best to help you further on the matter.

Regards.

December 11, 2023 at 11:29 am #15036335

carstenM-14

Thank you,

I could finds the mistake. I use a theme called uncode and in the main language I have a special Page Option for the header with a so called content block which is responsible for the design. This setup is not transferred to the english translation. Is this normal? If yes, I need to go into all products and change this by hand…

December 11, 2023 at 12:48 pm #15037081

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the updates.

Please see https://wpml.org/forums/topic/how-to-translate-theme-option/#post-11198179 this discussion about how you can translate theme options.

December 12, 2023 at 11:17 am #15044935

carstenM-14

Thank you,

I just tried to locate the strings which are needed but I can not find. I added a picture what I mean. This setup is not transferred to the English translation or is set to standard. Are there any tricks to find the strings?

Bildschirmfoto 2023-12-12 um 12.17.05.png
December 12, 2023 at 12:50 pm #15046059

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the updates and the screenshot, this is more clear now.

The options that you mentioned in the screenshot are custom fields and you can force such custom fields to be copied when a new page is created.

Please follow the steps below to search for the field and set it as COPY:

https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

After that you will need to do a small change int the original page to force WPML to apply the setting:

- Go to your Dashboard > Pages.
- Open the edit screen of the original page. You should see a pencil/circle/gear icon in the sidebar options under the "Languages" section.
- Make a small change, for example, add dot or word at the end of a sentence/paragraph.
- Save it.
- You should now see that a circular arrow appears beside the 2nd languages links, this means that an update is required.
- Edit the translation again and save it up to 100% translated.

This should solve the problem, please let me know.

December 12, 2023 at 4:11 pm #15047749

carstenM-14

Yes, that is all clear but where do I find the name of the field?

December 13, 2023 at 7:53 am #15051151

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

You can find these in by going to WPML → Settings and scrolling to the Custom Field Translation section. Then search for the possible names for the settings.

You may also need to click "Show system fields", if nothing appears. The field names usually contain theme/plugin name, relevant section name and etc (i.e. page-options, page_options or etc).

Another trick would be to open your page for editing, scroll to the page options section, right click on the field and click Inspect. This 'll reveal its HTML scaffold and you can guess the name by examining it. And then can search in Custom Fields Translation as mentioned above.

If you don't find these, I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

The topic ‘[Closed] Double product description’ is closed to new replies.