|
|
Background of the issue:
I am working on a site under development and trying to implement a taxonomy page language switcher using WPML. The taxonomy is set to be translatable, and I have translated the taxonomy title. The language switcher URLs are: hidden link and hidden link. However, manually changing the URL to hidden link opens the translated version.
Symptoms:
The taxonomy page language switcher does not change the language when I click on a different language; it just reloads the page without changing the language indicator.
Questions:
Why doesn't the taxonomy page language switcher change the language when clicked?
Shouldn't the language indicator change when I use the language switcher?
|
|
|
Hi,
Thanks for contacting WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply; it was due to a higher workload.
1) Please elaborate on the issue to help me understand it better.
Sharing screenshots or a screen-recorded video while reproducing the issue would be very helpful.
2) Could you please check if the issue persists in a minimal environment by following these steps?
1- Deactivate all the plugins except WPML CMS and String Translation.
2- Switch to a WordPress default theme like Twenty Twenty-one.
If the issue is gone, activate them one by one to see which one is causing an interaction issue.
❌ Please back up your database before the above test ❌
Best regards,
Osama
|
|
|
Hi there,
this upload button doesn't let let to upload a video, how can i share the video with you?
|
|
|
Hi,
Please upload the video to a file transfer service, such as Google Drive, and share the URL with me.
Best regards,
Osama
|
|
|
Hi,
Thanks for the video. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please back up your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Best regards,
Osama
|
|
|
Okay now i only have my website on my local I'll move it to staging, once i do that I'll share the access with you.
Thanks
|
|
|
Hi,
Sure, please take your time.
Best regards,
Osama
|
|
|
Hi there's,
I got my site to live, can you please send what was needed for you to gain access?
|
|
|
Hi,
I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please back up your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Best regards,
Osama
|
|
|
Hi,
Thanks for the access details. This taxonomy is created by the "Media Library Assistant" plugin, so that might be a compatibility issue.
Please log in to this hidden link and create a test taxonomy and translate it to replicate the issue.
Please let me know if the issue is replicable so I can check it and consult our compatibility team.
Kindly note that the sandbox site has WPML and "Media Library Assistant" installed.
Best regards,
Osama
|
|
|
So i created some taxonomies in the "Media Library Assistant" plugin and translated them. is that good for you to test?
|
|
|
Hi,
Thanks for creating the terms. I tried to reproduce the issue, but I couldn't. Please check the term on the front end and switch the language. (hidden link)
So, I activated the WordPress default theme on your site, which fixed the issue. Please check this page. (hidden link)
In your theme, there is something that converts the taxonomy URL from (hidden link) to (hidden link), which causes the issue.
Best regards,
Osama
|
|
|
So what do you think is the causing issue in the theme?
|
|
|
I found the code part that's causing that issue)
|