Skip Navigation

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

Problem:
The client reported that the 'underlined-link' class attribute present in the English version of a webpage was missing in the translated Hungarian version, despite attempts to re-translate after making changes to the original.
Solution:
We recommended that the client check the WPML and Bricks settings on their site against those on a clean installation where the issue was not replicated. We provided a sandbox link for reference. The client was advised to create a test page, translate it, and check if the issue persists. If the problem is still reproducible, we asked the client to inform us on how to replicate it so we could further investigate with our compatibility team.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we 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. Should you need further assistance, please do not hesitate to open a new support ticket at 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.

Tagged: 

This topic contains 7 replies, has 3 voices.

Last updated by Osama Mersal 6 months, 1 week ago.

Assisted by: Osama Mersal.

Author Posts
May 17, 2024 at 11:57 am #15639516

richardK-49

Hi,
I have an English original page: hidden link
You can see that links in the text has a class="underlined-link" attributes.

if you check the translated Hungarian version: hidden link
This attribute is missing.
I've alread tried to change a little in the English version then start a new translation job and complete translation. Did not work.
Please help!
Zsolt

May 17, 2024 at 12:49 pm #15639776

richardK-49

Look for this link: IDOL (Intelligent Data Operating Layer)

May 17, 2024 at 7:47 pm #15640916

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Non-visual elements like HTML attributes are by default not translated automatically.

You will need to edit the translation manually in this case, search for the attribute inside the text field on the top left of the Advanced Translation Editor (ATE), and translate it.

If the translation is marked as completed (Pencil icon) then please click the icon and the ATE will open.

If you see instead a review symbol (Eye icon) then it means that you will need to access the review for the content. While on the review screen click "Edit translation" inside the top bar, to open ATE.

Guide:
https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/#main-features-of-the-advanced-translation-editor

I hope this will solve the issue for you, but if not, then please let us know.

Best regards
Andreas

May 21, 2024 at 6:14 am #15647923

richardK-49

Hi,
Unfortunatelly, this is not our case.
Let's do it step by step. Focus on class attribute:

- In English version there is a html markup in Rich Text includes class="underlined-link"

- ATE doesn't include class attribute, so I cannot translate.

- In Hungarian (translated) version the HTML is not include class="underlined-link".

In Addition: there are approximately 20 pages where class attribute is used in <a> element, and in case of 18 pages the class attribute EXISTS on the translated page! Only there are two exception, where <a> element is not copied to Hungarian version.

It is seems as a bug, is it? But how can i resolve this. I can add access to a staging, if it helps.
Zsolt

May 21, 2024 at 7:19 am #15648199

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Zsolt,

I'm Osama from WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

May 28, 2024 at 1:34 pm #15678920

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I tried to replicate the issue on a clean installation. (hidden link)

The class is copied correctly. Kindly check this page in both languages. (hidden link)

Please check the sandbox's WPML and Bricks settings and change them to match your site. After that, please create a test page and translate it to replicate the issue.

If the issue is reproducible, please let me know how to reproduce it so I can check it and consult our compatibility team.

Best regards,
Osama

May 29, 2024 at 10:32 am #15682937

richardK-49

Hi Osama,
You're right. It works in 99/100 cases. We are investigating the 1/100 of cases.
Our site shouldnt' be cloned by our security policy. We should find another solution. Compatibility team may help anyway.
Regards, Zsolt

May 29, 2024 at 10:48 am #15682977

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

You don't need to clone your site, you need to clone the Bricks and WPML settings only.

After that, please create a new test page and check if it works correctly.

If the issue can't be replicated on the sandbox, please follow these steps to check if it persists in a minimal environment.

1- Deactivate all the plugins except the active plugins on the sandbox.
2- Switch to your parent theme.
3- Create a new test page and translate it

If the issue is gone, activate them one by one to see which one is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

Please note that we found an issue with the latest Bricks version here. (https://wpml.org/errata/bricks-translated-content-not-showing-on-frontend/)

Best regards,
Osama

May 30, 2024 at 7:38 am #15686218

richardK-49

Sorry, I think you did not understand my Issue. I have probem with only one page. If i create the whole page from the beggining, It will work fine. But this is a bug, and I wanted to see an easier solution for this.