Background of the issue:
I am trying to translate a few links that have an icon in front added with the a::before selector. However, when I translate it into Japanese and Thai languages, the pseudo element is wrapped in a separate anchor tag resulting in something like iconlink rather than iconlink. (hidden link)
Symptoms:
The pseudo element is wrapped in a separate anchor tag instead of being part of the same anchor tag as the link.
Questions:
Why is the pseudo element being wrapped in a separate anchor tag when translating into Japanese and Thai?
How can I ensure the icon remains part of the same anchor tag as the link after translation?
Our 2nd Tier Support checked and it works fine when he switched themes as shown here hidden link . He suspected theme related issue and could you share your theme files here so that we could check? You can upload it to Google Drive and share the link with us.
I know that FOntAwesome is not installed but that is not relevant. THe main point is that adding anything to the anchor tag with ::before cause the wpml plugin to treat it as another anchor.