This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with WPML translating CSS IDs, which makes it difficult to know what the links are being renamed to, you're not alone. Solution:
To prevent WPML from automatically translating CSS IDs, we recommend adding a custom XML configuration to your WPML settings. Here's a step-by-step guide:
1. Navigate to WPML > Settings in your WordPress dashboard.
2. Locate the Custom XML Configuration section.
3. Insert the following code:
This code ensures that any CSS IDs you manually edit will not be overwritten, and new pages will not have their CSS IDs automatically translated. It's important to note that this will only affect new translations moving forward; any CSS IDs you've already translated manually will remain as is.
If this solution doesn't seem relevant to your issue, please don't hesitate to open a new support ticket with us.
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.
Many thanks for your help. Yes that did work and I've managed to update all the translations. I'm having one other issue which I hope you don't mind addressing within this thread.
It's actually translating the CSS IDs which means I don't know what it is renaming my links to be. Is there a place where I can find where these CSSID translations have been done and correct them?
I think you misunderstood I've got the opposite problem. I've actually got the issue that WPML is translating CSS IDs and I don't want it to. I want to leave CSS IDs untranslated.
Could you please let me know the switch all the code which can stop WPML from translating CSS IDs
It doesn't happen all the time but sometimes it opts to translate. I had one with a css id titled features in the english original - in the translated version the CSS ID say eigenschaften
If it happens "sometimes" it might depend on the specific module used by Divi.
Please, I need a *real* example, e.g a link to a page where it happens, it's not possible to tell you anything from a generic description of the issue.
I'll have to access your site to further check the problem.
It seems only to happen when the anchor is attached to a section. At the moment I've gone through and renamed all the translated IDs in the German version. It's just my fear that if I do an auto translate again it will do the same thing and break some links
Your last answer seems to be contradictory - You say the css ids won't be overwritten and then give me a solution for them being over written.
Just to confirm after I changed the CSS ID in the German version and then ran a translation again it once again replaced it with a German version of the word.
Okay I have put the code in and I will doublecheck after I've done some more translations. I'll leave the ticket open for the moment because I'm not planning to change anything right now.