Skip Navigation

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

Problem:
The client was unable to translate CSS IDs for anchor links in different language versions of their website. The CSS IDs were not appearing in the WPML editor for translation, and manual translations were resetting whenever the default language was updated. Additionally, there were issues with untranslated internal links in the English version, which were not pointing to the correct translated pages.
Solution:<br/It appears that the issues may have been resolved, potentially due to a cache clearing. If you're experiencing similar issues, we recommend trying the following steps:
Clear the site's cache.
Ensure that you are using the latest versions of WPML and all related plugins and themes.

It's important to note that this solution might be outdated or not applicable to your specific case. If the problem persists, please visit our support forum to open a new ticket. We also 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.

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 1 voice.

Last updated by Andreas W. 3 weeks, 1 day ago.

Assisted by: Andreas W..

Author Posts
May 9, 2025 at 10:10 am #17015804

dosvisual.com

Background of the issue:
I am trying to translate Text block CSS IDs so the links in the main and page menus to specific text blocks within the same page (anchor-wise) work properly. For example, /es/mas-fire/#inauguracion and /es/mas-fire/#mesa-redonda. The strings for CSS ID such as 'inauguracio' were not showing up on the editor to be translated, so I edited them directly on the ESP page ('inauguracion'), but they get reset every time I update the default language. The site I need help with is hidden link.
A supporter solved the problem in a previous ticket but it only worked on the ESP version. The ENG version is not loading the CSS IDs for translation> https://wpml.org/forums/topic/translate-css-id-avada/

Symptoms:
CSS IDs are not translatable via the editor and the manual translations get reset every time I update the default language.

Questions:
How can I ensure that the translated CSS IDs do not reset when updating the default language?
Why are the strings for CSS ID not showing up on the editor for translation?

May 9, 2025 at 12:23 pm #17016573

dosvisual.com

I´d like to add there are also other issues affecting the automatic link translation (of internal pages) only in ENG (ESP works fine).

On these sections of the pages there are 3 toggles that include text linking to Avada portfolio posts. The links haven´t been translated on ENG and are pointing to their CAT versions. You can see the issue here:
CAT ok - hidden link
ESP ok - hidden link
ENG errors - hidden link

I´m using the same translation method for both languages.

mostrafire-internallinks.png
May 12, 2025 at 12:20 pm #17022871

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I apologize for the delay in responding. I will take care of this ticket; the reply time will be shorter now.

To be able to investigate the problem, we need to replicate the issue on a clean installation.
I created a clean installation of WordPress, Avada, WPML, and all necessary WPML add-ons.
You can access the WordPress dashboard using the link below:
hidden link

Kindly follow the steps below:

- Don't restore your site there.
- Try to replicate the issue with minimal steps.
- Then let me know the steps to see the problem.

Best Regards,
Otto

May 19, 2025 at 6:47 am #17046479

dosvisual.com

Hi Otto

Thanks for the testing site* and sorry for my delayed reply.

2) The issue I regarding the toggles texts with untranslated portfolio links was only happening from CAT to ENG. And I´ve just opened the page and they are working fine..
That´s a bit surprising... is it possible something on the Wpml cache was affecting this?

1) CSS IDS
This issue seems to be solved aswell on my end... I´m not sure how?

So I think we can close this ticket for now. Will I be able toopen it again if the error happened again?

Thanks!

*(The testing site with a fresh install proposal could be useful if an error is happening in all languages, but my case was only from CAT to ESP, and the other from CAT to ENG)

May 20, 2025 at 9:52 am #17051823

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

My colleague Otto is currently on vacation which is why I am replying.

It is unclear to me how the issues were suddenly solved, but it might have been a cache issue.

In case you need any further assistance, please let me know.

Best regards
Andreas