Hello there,
Thank you for reaching us!
In PHP, we take the default page and parse it (we go through each HTML element and look for translations). We do the same with URLs.
There are some pages where you find a URL several times, or there are some URLs that are generated by functions like get_permalink. We put #trplinkrprocessed on the ones we process. So, if a URL comes up again it will be ignored. At the end, we have a script that removes all #trplinkprocessed.
- Why does the #TRPLINKPROCESSED still appear?
– They appear because we failed to complete the stripping.
– There are some themes (themify — has caching). It caches the page_id. We don’t change the page_id and it’s possible that the page_id is being served. If it was caching on the URL it would take into account the language parameter. Solution: removed the cache from the theme.
– Compatibility test — there are other plugins that read HTML like TP and it’s possible to break our code, and those will throw #trpgetext and #trplinkprocessed will appear.
– Tried replicating with the plugin that generates the URLs.
– On non-dynamic links, it would work with exclude selectors from translations features from TP Settings ? Advanced tab.
Let me know about this!
Kind Regards,