hello
We have a question for you.
We recorded a detailed video about the problem.
Some categories are displayed normally, others (such as Idea) are displayed incorrectly. hidden link
We have already contacted BetterDocs.
They solved the problem with the English language and now all categories are displayed correctly in English. But they are not displayed correctly in Russian and Ukrainian.
Thank you for contacting WPML support, I'd be happy to help you with this issue.
Is there any specific layout setting to display the doc category page in full-width mode? If yes, you can try to find the custom field ID and go to WPML > Settings > Custom Fields (or Custom Term Meta) translation section > Set the field preference to Copy > Update the category/layout and see if it helps.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.
There is a conflicting slug with the doc category in Ukrainian and Russian languages. I've changed the doc category in Uk language from "ideya" to "ideya-uk" and the template in the frontend loaded correctly.
Also, please update the translation Elementor templates and add the correct image map shortcode for the Uk and Ru languages, please check this screenshot hidden link
And the important point is that before everything worked correctly with the same slugs.
We have a lot of generated and sewn links on the site, which will have to be changed manually if you need to change the tags (add -uk or -ru)
Until the moment when we wrote to you about this problem, everything worked correctly for almost a year with the same lags.
Osama (your colleague) set it all up for us.
I see that issue. When saving the category in Russian, the connection to Knowledge Base of the category in Ukrainian is lost, please check the screenshot attached.
It could be a compatibility issue between WPML and BetterDocs Pro. Please help me to replicate the issue on a clean installation of WordPress. You can just create some Knowledge Base, Category, docs, translate them and setup the same permalink settings. You can login directly with this link hidden link
I can replicate the issue on the sandbox site above. I'm asking our 2nd tier support about this issue and update you here when I have something to share.
I got some information from our 2nd tier support, please check it below:
On your site, you are using the old version of BetterDocs Pro plugin. If you don't update, please follow steps below to fix it:
1. Go to WPML > Settings > Custom Term Meta Translation > Set the preference of "doc_category_knowledge_base" to "Don't Translate" > Save.
2. Edit the doc category in English > Select the related Knowledge Base > Save changes.
3. Switch to Uk and Ru languages and select the related Knowledge Base manually > Save changes.
If you update BetterDocs Pro to the new version 3.0.0, please edit the file wp-content/plugins/betterdocs-pro/includes/Traits/MKB.php and replace the kb_terms() function (around line 21) with this one: