Problem: You are developing a site and want to redirect users for missing translations to a specific URL for each language instead of the homepage. The code you tried is not working. Solution: By default, WPML redirects missing translations to the homepage only. For redirecting to custom URLs per language, you might consider third-party services such as Permalink Manager Lite or Redirection. If you require further customization, we recommend using our Contractors service, which is a paid option. You can find more information here: WPML Contractors.
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 for further assistance.
Problem: If you're experiencing issues where WPML automatically adds language subfolders (e.g., /nl/) to Lasso cloaked links on your multilingual WordPress site, causing the links to break on translated pages, we can help. Solution: We recommend adding a specific filter to your theme’s functions.php file to exclude certain links from being automatically translated by WPML. Here’s how you can do it:
Replace 'your-slug-here' with the slug of the page in the original language that you want to link to without translation interference. For example, if you want to link to an English page with the slug 'premium-dip-belt-calisthenics-equipment-by-gornation', you would add this slug to the $blacklist array.
If this solution does not fully resolve your issue or seems outdated, or if your case requires a more tailored approach, 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. Should you need further assistance, please do not hesitate to open a new support ticket with us at WPML support forum.
Problem: You are using Make.com to automate translations via the WordPress REST API and GPT API for custom localization, but the translated articles are not linking to their original English posts in WPML. The translations object is empty, and manual updates using the WPML API do not establish the connection. Solution: Currently, WPML does not fully support creating and linking translations directly through the REST API. You can specify the language using the '?lang=' parameter when creating a post, but additional steps are required to link translations. A custom solution involves: 1. Creating the first post in one language using a standard API POST call. 2. Creating the second post in another language using another API POST call. 3. Linking both posts using a custom endpoint. Here is a code example provided by another user that might help: https://gist.github.com/djoo/5518bcf4ccef93ab83d91787c41e929a Additionally, you can utilize WPML hooks for more functionalities:
Always ensure to have a backup when implementing custom code.
If this solution does not resolve your issue or seems outdated, we 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: You are trying to display the language switcher in the header on desktop devices, but it has disappeared. Solution: We have identified that a custom class and CSS are hiding the language switcher. We recommend disabling this in the browser inspector to see if the language switcher becomes visible. You should re-evaluate your custom CSS to resolve the issue permanently.
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: You are experiencing issues with language switchers on your site. The PC header switcher does not allow switching back to Spanish, the mobile header switcher opens the flag's image instead of switching languages, and the footer switcher does not work correctly on tablets and phones. Solution: For the PC header switcher issue, we recommend adding the following custom CSS to resolve the overlapping issue caused by the "reservation" button container:
1
2
3
.wpml-ls-legacy-list-vertical .wpml-ls-item {
display:inline-block;
}
You can add this CSS via WP > Appearance > Customize > Additional CSS. For the tablet and phone switchers, please confirm the browser you are using as it appears to function correctly in Safari on iOS devices.
If this solution does not resolve your issues or seems outdated, or if it does not apply 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 further assistance is needed, please open a new support ticket at WPML support forum.
Problem: You are trying to enable translation capabilities for sellers on the frontend dashboard of your Marketplace plugin. You have successfully implemented translation from the backend using WPML, but are facing issues with frontend translation. Specifically, creating a translation job to get the ATE URL from the frontend is not functioning. Solution: Currently, WPML does not support frontend translations out of the box; it is designed to work from the backend for users with roles like editors or translators. However, there is a third-party plugin that might help to enable an admin view on the frontend, which could work with WPML. You can find more information about this plugin here: WP Frontend Admin for WPML. For a more integrated solution, especially if you are developing a commercial plugin, we recommend contacting our compatibility developers through the Go Global Program. They can provide advice on the best approach and assist with further integration.
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 you still need assistance, please open a new support ticket at WPML support forum.
Problème : Vous rencontrez un problème avec un grand espace blanc sous le pied de page sur les pages de catégories après la mise à niveau vers WC 9.7.1, qui pourrait être causé par un grand nombre de sous-catégories. Ce problème disparaît lorsque WPML est désactivé. Solution : Nous vous recommandons de remplacer le code CSS personnalisé par le suivant pour corriger le problème :
1
2
3
4
ul ul ul.children.wd-design-default.wd-sub-menu.wd-dropdown.wd-dropdown-menu {
overflow-y:auto;
max-height: 500px!important;
}
Veuillez vérifier si cela résout le problème sur votre site.
Si cette solution ne s'applique pas à votre cas ou semble obsolète, nous vous recommandons de vérifier les problèmes connus, de vérifier la version du correctif permanent et de confirmer que vous avez installé les dernières versions des thèmes et plugins. Si le problème persiste, n'hésitez pas à ouvrir un nouveau ticket de support sur notre forum de support.
Problem: Sie versuchen, Ihre Blogbeiträge zu übersetzen, aber der erste Absatz wird nicht übersetzt und erscheint nicht im Advanced Translation Editor (ATE). Solution: Wir haben festgestellt, dass das Problem durch das Fehlen des Paragraphen-Tags
1
<!-- wp:paragraph -->
im HTML-Inhalt der Seite verursacht wurde. Wir haben diesen Tag für Sie hinzugefügt. Bitte überprüfen Sie, ob der Absatz jetzt korrekt übersetzt wird.
Falls diese Lösung veraltet ist oder nicht auf Ihr Problem zutrifft, empfehlen wir Ihnen, ein neues Support-Ticket zu eröffnen. Wir empfehlen Ihnen auch, die Seite mit bekannten Problemen unter https://wpml.org/known-issues/ zu überprüfen, die Version der dauerhaften Lösung zu verifizieren und zu bestätigen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben.
The client wants to add a floating flag icon in the backend of their website using the DIVI theme to switch languages, similar to the GTranslate feature. WPML does not have a built-in feature or hook to support this.
Solution:
We recommend implementing a CSS workaround to achieve a floating language switcher. You can add the following CSS code to keep the Dashboard language switcher floating:
1
2
3
4
5
6
li#wp-admin-bar-WPML_ALS {
display: block;
position: fixed !important;
top: 90%;
left: 0;
}
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 this does not resolve your issue, please open a new support ticket at WPML support forum.
Problem: The client is using ACF with an additional plugin called ACF Custom Database Tables to store ACF field values in separate tables, which WPML does not automatically recognize. The client needs to know which WPML hooks or filters to use to integrate these custom tables with WPML's Advanced Translation Editor and how to handle incoming translations for storage in these custom tables. Solution: Unfortunately, WPML does not provide specific hooks for integrating custom database tables used by ACF Custom Database Tables. We recommend scanning ACF and its addons for new strings at WPML > Theme & Plugin Localization and then translating these strings at WPML > String Translation. If the fields are added to the wp_options table, they can be translated using WPML String Translation, as detailed here: https://wpml.org/documentation/support/language-configuration-files/translate-strings-in-wp-options-table/. For further customization, additional development and compatibility coding might be necessary.
If this solution does not fully address your issue or 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.
Utilizamos cookies para optimizar nuestro sitio web y nuestros servicios. Su consentimiento nos permite procesar datos como el comportamiento de navegación. No dar su consentimiento puede afectar a algunas funciones.
Funcional
Siempre activo
Necesario para que nuestro sitio web funcione y se comunique correctamente.
Preferencias
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Estadísticas
Las utilizamos para analizar las estadísticas de nuestro sitio. La información recopilada es totalmente anónima.El almacenamiento o acceso técnico que se utiliza exclusivamente con fines estadísticos anónimos. Sin una citación, el cumplimiento voluntario por parte de su proveedor de servicios de Internet, u otros registros de terceros, la información almacenada o recuperada solo para este propósito generalmente no puede usarse para identificarlo.
Marketing
Estas cookies rastrean su navegación para proporcionar anuncios relevantes para usted.