The client is experiencing display issues on their website when translating pages into Kurdish and Urdu using WPML. These languages, which use right-to-left (RTL) scripts, show the pages as scrambled and mostly white.
Solution:
We recommend verifying if the theme used on the site fully supports RTL languages. This involves more than just text direction; it also includes layout adjustments, icons, and animations. Here are the steps to diagnose and potentially resolve the issue:
1. Ensure you have a full site backup before making changes. 2. Add another RTL language, such as Arabic or Hebrew, to see if similar display issues occur. 3. Temporarily switch to a default WordPress theme like Twenty Twenty-Four or Twenty Twenty-Five to check if the problem persists.
For more detailed guidance, please refer to our documentation on RTL support:
If these steps do not resolve the issue or if the solution seems outdated or irrelevant 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 problems persist, please open a new support ticket.
Problem: You are trying to create translations for the Dutch language, but some pages aren't connected to the correct main translation page. Solution: We recommend manually linking already translated pages using the WPML UI. You can follow the step-by-step guide here: https://wpml.org/faq/how-to-link-already-translated-pages/ If you are considering creating a custom query, it might be useful to understand how WPML stores language data in the database. You can find more information here: https://wpml.org/documentation/support/wpml-tables/ However, we strongly advise against direct modifications to the database unless absolutely necessary, as this can lead to unexpected issues.
If this solution does not apply to your case, or if it seems outdated, please do not hesitate to open 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.
Problem: You are trying to allocate products in categories, but they disappeared in the wp-admin categories screen. Although the search results counter shows a number greater than zero, no categories appear in the list.
Solution:
The problem was caused by a custom function in the theme files. Removing that function fixed it!
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 problem persists, please open a new support ticket.
The client is using different forms for each language version of a page, embedded via shortcodes from the Spotler/Mailplus plugin. The Dutch version of the form is overriding key parameters in the form action, affecting its submission.
Solution:
We recommend the following steps to address the issue:
1. Ensure that each language version of the page uses the correct form shortcode. Add them manually if necessary. 2. If preserving URL arguments through WPML settings does not resolve the issue, consider using custom code to maintain the correct form settings upon submission. 3. As a backup, implement a JavaScript snippet to modify the form action after the page loads. 4. If the problem persists, consider switching to a different form plugin that is more compatible with WPML. For more information on compatible form plugins, visit https://wpml.org/plugin-functionality/form/.
If these solutions do not apply to your case, or if they seem outdated, please open 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, you can contact us directly through our support forum at WPML support forum.
The client is using ACF Pro to set up a custom post type (CPT) called 'Case Studies' and needs to translate the URL slug for different languages, aiming for a structure like '/references/case-studies/{cpt-title}' for English.
Solution:
We recommend following these steps:
1) Navigate to WPML >> Settings >> Slug Translations. 2) Enable the option: 'Translate base slugs of custom post types and taxonomies (via WPML → Taxonomy translation)'. 3) Scroll down to the Post Types Translation section. 4) Click on 'Set different slugs in different languages'. 5) Enter the translated slug for each language and save the changes. 6) Go to Settings >> Permalinks and click 'Save Changes' (no need to modify anything). 7) Clear all types of caches (plugin, browser, server, CDN, etc.). For further guidance, refer to our documentation on translating page slugs and translating slugs for custom post type archives.
If this solution does not apply to your case, or if it seems outdated, please open 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, you can contact us directly through our support forum.
Problem: You have a custom plugin with a custom post type. When the site's current language is set to a non-default language, such as Dutch, and you create a custom post type, it is only associated with the current language. You tried using
'lang' => 'all'
in WP_Query parameters without success. The issue is that when performing a WP_Query for the custom post type, only records in the default language are shown, filtering out records in other languages. Solution: To include custom post types in all languages in your WP_Query, you need to use the
suppress_filters
argument in your query. Here's how you can modify your WP_Query: 1. Set
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 persists, please open a new support ticket at our support forum.
Problem: El cliente intenta publicar contenido en varios idiomas y enlazar traducciones usando la API desde Make.com con WPML, pero encuentra que WPML no tiene una API REST oficial para crear y enlazar traducciones directamente. Solution: Si estás experimentando este problema, te recomendamos: 1. Crear el contenido en el idioma principal usando la API REST estándar de WordPress. 2. Crear las traducciones como nuevos posts y relacionarlos con el post original utilizando un meta personalizado o desarrollando un endpoint personalizado en tu sitio que utilice las funciones internas de WPML para enlazar traducciones (por ejemplo,
wpml_add_translations
). Este tipo de integración requiere desarrollo personalizado, ya que WPML no ofrece directamente un mecanismo en la API REST para hacerlo automáticamente. Si necesitas asistencia adicional, puedes consultar con nuestros contratistas certificados que podrían ayudarte a desarrollar esta funcionalidad a medida.
Es posible que esta solución sea irrelevante si está desactualizada o no se aplica a tu caso. Te recomendamos revisar los problemas conocidos, verificar la versión del arreglo permanente y confirmar que tienes instaladas las últimas versiones de temas y plugins. Si el problema persiste, te sugerimos abrir un nuevo ticket de soporte.