Problem: The client is using the 'Update internal links' feature in WPML to correct links in translated posts that incorrectly point to the original English page. Despite translating content into three languages and having a large number of posts (33,600), the process often stops or breaks around 19,600 posts, displaying an error message. The client seeks a solution to make this process run in the background without needing the admin page to remain open. Solution: We discussed three potential solutions: 1. Address the immediate issue by ensuring the 'Update internal links' process does not stop or break. 2. Tackle the underlying problem by ensuring that posts do not point to the original English page when translated alternatives exist. 3. Consider the feature request to run the process as a background task, although this might not be implemented soon. We recommend focusing on the second solution, which addresses the root cause of the issue. It is expected that internal links in other languages should automatically translate along with the content, making the 'Update internal links' button unnecessary in this scenario. If the client still prefers to pursue the feature request, we can proceed with that, but we suggest reconsidering for a more immediate resolution.
If this solution does not resolve your issue or seems outdated, please check the related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket at WPML support forum.
Problem: You have a custom 'options' page created with Advanced Custom Fields (ACF) and the options are not rendering in other languages when the language is changed. You've set the mode to 'Expert' and chose 'Don't translate' because the contents of the option page don't need to be translated (e.g., phone number). However, when you switch languages, the content is missing. Solution: Currently, the functionality to disable translation for ACF option pages and ensure they render correctly in all languages regardless of the translation settings is not available. This issue has been escalated internally as a feature request. As of now, there are no plans to implement this due to limited demand, but it remains open in our internal tracker for future consideration.
If this solution does not apply to your case, or if it becomes outdated, we recommend opening a new support ticket. We also 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. For further assistance, please contact us through the WPML support forum.
Problem: The client would like to lower the amount of HTTP requests, due to each language flag being loaded as an individual SVG file. This results in multiple HTTP requests, which increase Time To First Byte (TTFB) and initial rendering time, particularly affecting visitors on slower networks.
Solution: We have forwarded a feature request to load SVGs programatically instead of using SVG files, which is currently under revision. You can find a custom solution approach for the issue inside the comments of this ticket.
If this solution does not apply to your case, or if it seems outdated, 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 further assistance is needed, please open a new support ticket at WPML support forum.
Problem: If you're experiencing outdated page previews in WordPress while using WPML, it might be due to WPML's parse_query flow setting a fixed single-post ID ('p') on the WP_Query. This issue occurs because during the preview, WordPress queries the latest autosave revision, but the 'p' set by WPML persists, preventing the latest revision from being fetched.
Solution: We recommend implementing a minimal, safe fix by modifying the WPML_Query_Parser::parse_query method. Here's a step-by-step guide: 1. Open the file located at
. 2. Locate the section where the post_type is computed. 3. Add a guard early in the method to clear any leftover single-ID constraints for revision queries. Here's the code you should add:
This change ensures that preview requests correctly fetch the most recent autosave revision without being pinned to an old revision ID. Normal WPML routing and translated front-end behavior remain unchanged.
Please note that this solution might be irrelevant if it's outdated or not applicable to your 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 persists, please open a new support ticket at WPML support forum.
Problem: The client is experiencing an issue where changes made to the Header elements for the Spanish and Polish versions of their site are being incorrectly applied to the Global Header instead of the respective language headers. This problem arose after manually editing headers created in the default language and attempting to translate them for other languages.
Solution: We recommend not manually editing Full Site Editing (FSE) templates for different languages as this approach is not compatible with WPML. Instead, you should: 1. Delete all problematic templates. 2. Create a new template in the default language using the Appearance > Editor option. 3. Translate the new template using the Translation Dashboard as outlined in our documentation here: Using Different Translation Editors for Different Pages. 4. If issues persist after following these steps, please open a new support ticket for further assistance.
Please note that this solution might be irrelevant if it's 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 problem persists, do not hesitate to open a new support ticket at WPML Support Forum.