• Resolved jacobusdesign

    (@jacobusdesign)


    I’ve set up a switch to English and followed all the instructions in the documentation, but unfortunately, when I switch to English and then back again, none of the translations work anymore. Additionally, the URL shows #TRPLINKPROCESSED.

    My website is https://kfz-gutachterteam24.de/

    Could someone please help me with this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Anghel Emanuel

    (@anghelemanuel99)

    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.

    • What works?

    – 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,

    Plugin Support Anghel Emanuel

    (@anghelemanuel99)

    Hello there,

    Since 5 days have already passed without getting any replies from your side, I will close this thread and I will mark it as “Resolved”.

    Have a great day!

    Kind Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.