This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
- | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
Tagged: Compatibility
This topic contains 12 replies, has 2 voices.
Last updated by Long Nguyen 1 year ago.
Assisted by: Long Nguyen.
Author | Posts |
---|---|
October 19, 2023 at 2:19 pm #14616013 | |
alexeyK-12 |
hello Some categories are displayed normally, others (such as Idea) are displayed incorrectly. 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. Example: 1. hidden link 2. hidden link |
October 23, 2023 at 2:22 am #14632677 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi Alexey, 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. Refer documentation https://wpml.org/documentation/getting-started-guide/translating-custom-fields/ If not, please try to replicate the issue on a clean installation of WordPress. You can login directly to the admin area with this URL hidden link Kindly follow the steps below: - Don’t restore your site there. Look forward to your reply. |
October 23, 2023 at 9:09 am #14634851 | |
alexeyK-12 |
Hello. |
October 23, 2023 at 9:57 am #14635753 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, Can you please help me replicate the issue on the sandbox site? If it is replicable, I will help you to check the issue there. Look forward to your reply. |
October 23, 2023 at 1:22 pm #14638429 | |
alexeyK-12 |
we have a test site. |
October 24, 2023 at 1:31 am #14641843 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, 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 ❌ Look forward to your reply. |
October 30, 2023 at 2:51 am #14687797 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, 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 Look forward to your reply. |
November 1, 2023 at 1:25 pm #14707829 | |
alexeyK-12 |
Hello I want to say that: 1. When we put "ideya-uk" in the Ukrainian language, the template works. 2. When we put "ideya-ru" in the Russian language, the template works, but stops working in the Ukrainian language. 3. When we save "ideya-uk", the template works, but stops working in Russian. That is, the system somehow makes the last saved slug work, while the other one flies away and is not added to the knowledge base. |
November 1, 2023 at 1:30 pm #14707843 | |
alexeyK-12 |
And the important point is that before everything worked correctly with the same slugs. |
November 2, 2023 at 6:59 am #14712701 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, 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. Look forward to your reply. |
November 2, 2023 at 7:40 am #14712931 | |
alexeyK-12 |
Hello. It's up to you as the developer of the compatible software to have these test plugins. We gave you access to a test site where you can test it, and you always ask for a sandbox site ((( |
November 2, 2023 at 10:28 am #14715109 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, 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. Thanks. |
November 7, 2023 at 4:40 am #14742851 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi, 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. 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: public function kb_terms( $term, $taxonomy ) { $current_term = get_term_by( 'slug', $term->slug, $taxonomy, OBJECT ); $_term_attr = get_term_meta( $current_term->term_id, 'doc_category_knowledge_base', true ); // WPML Workaround for compsupp-6478 if ( class_exists('Sitepress') ) { $_term_attr = get_term_meta( $term->term_id, 'doc_category_knowledge_base', true ); } if ( ! empty( $_term_attr ) ) { $_term_attr = array_values( array_filter($_term_attr, function( $item ){ return ! empty( $item ); }) ); } return $_term_attr; } ❌ IMPORTANT: Please backup your database and website before proceeding ❌ Look forward to your reply. |
The topic ‘[Closed] 60. categories are displayed incorrectly in Ukrainian and Russian’ is closed to new replies.