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.

This topic contains 1 voice and has 0 replies.

>
Author Posts
August 24, 2024 at 3:43 pm #16100437

oldrichH

Background of the issue:
I am trying to translate the Enfold 6.0 website using XLIFF export and import. I have imported the XLIFF after resolving another bug. The site has 100% of translations done. Link to a page where the issue can be seen: hidden link
There was same issue on the home page, I went the TM to confirm translation again, purged caches and seems to be ok now, but I did not compared the code. I have tried the same procedure on this page, but it does not work. Anyway, I need to have perfectly working solution without any stupid post processing which takes more than translation itself.

Symptoms:
Some elements do not work in the translated version. The HTML code of the translated page is different from the original. Some elements are missing in the translated version.

Questions:
Why are some elements missing in the translated version?
Why is the HTML code different between the original and translated pages?

August 24, 2024 at 5:00 pm #16100494

oldrichH

I have found that media were not translated to the secondary language automatically by my setup. The issue was fixed after manual duplication. The is still a big difference in the code in secondary language, but I think I will fix it in the Enfold Theme setup. It is related to:

:root {
--enfold-socket-color-bg: #282b2e;
--enfold-socket-color-bg2: #52565c;
--enfold-socket-color-primary: #ffffff;
....