Problem: The client has a bilingual website with pages in both Chinese and English. Some pages that are not translated into English still generate English URLs (/en/), which appear as errors in site audits, showing as redirects or broken links. Solution: We identified that the issue stems from the WPML settings. Specifically, the 'Link to home of language for missing translations' option was enabled in WPML → Languages, causing untranslated pages to generate English URLs. To resolve this, we adjusted the WPML settings to not link to the home of the language for missing translations. Additionally, ensure that the post type is set to only show translated items in WPML → Settings.
If this solution does not fully resolve the issue or seems outdated, we recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket.
Problem: If you're experiencing issues where text blocks appear as single units on your webpage and UI builder but are incorrectly split into fragments when opened for translation in Crowdin, causing loss of context for translators, this might be due to line breaks in the Text Block Element of WP Bakery Page Builder. Solution: We recommend adding the following code to the
functions.php
file of your theme to prevent automatic addition of paragraph tags which might be causing this issue:
After adding this code, please modify the page content or add new content and test the changes. If the problem persists, it might be due to inherent behavior of the WP Bakery Page Builder in conjunction with Crowdin, and changes in the source text might be necessary to resolve the issue.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue continues, please open a new support ticket at WPML support forum for further assistance.