Problem: You are developing a site using WPML to translate group types into different languages and want to order the group type list in the drop-down menu alphabetically. However, the drop-down list of group types is not ordered alphabetically, and changes made in one language affect the order in other languages as well. Solution: We have identified that the option to order group types alphabetically in the drop-down menu cannot be translated in WPML and requires custom programming. This is beyond the scope of our support. We recommend contacting one of our certified partners for custom programming assistance. You can find a suitable partner at http://wpml.org/documentation/support/wpml-contractors/. Additionally, consulting the BuddyBoss plugin author might provide further customization options.
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.
Problem: After migrating content from a test site to a live site, the client faced issues with the translation backend interface where brands were unavailable. Specific problems included the inability to add or update translated products in brand categories, and navigational issues on translated brand pages. Solution: We recommended the following steps to resolve the issue: 1. Navigate to WPML > Settings > Category Translation. 2. Locate Brand (product_brand) and set up different aliases for your brand in different languages. Change 'Brands' to 'Brand'. 3. Click save. We advised the client to check if the issue was resolved by visiting their brand page.
If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 problems persist, please open a new support ticket at WPML support forum for further assistance.
Problem: You are trying to display selected English translated posts in other translated languages using Advanced Custom Fields, but face issues where the database query reverts to the current page language. Additionally, using the 'use translation if available or fallback to default language' option disrupts pagination. Solution: We recommend implementing a custom solution where you switch the language on-the-fly to the desired one, query the intended posts, and then switch back to the current language for the rest of the process. This approach is not supported out of the box by WPML, as it is designed to display content based on the "current language" only. You can use WPML's filters and action hooks for proper multilingual support in your theme or plugin. For more details, visit the following resources:
If you require further custom work, consider contacting WPML Contractors at WPML Contractors.
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 Elementor and WooCommerce to display carousels with links to product attributes (brands) that are set to 'not translatable'. The links should link to the current language version, but WPML is altering them to the default language. The client wants these specific links to remain unchanged in the translated pages. Solution: We recommended adding a custom filter to the theme's functions.php file to prevent WPML from altering these specific links. Here is the code snippet to add:
This code will add the specified brand to a blacklist, preventing WPML from translating the URL. For more information on managing sticky links in WPML, visit WPML Sticky Links documentation.
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 issues persist, please open a new support ticket.
Problem: You need to change the footer content of your DIVI theme and cannot find the footer template in the translation management page after modifying the default English content. Solution: If you're experiencing this issue, we recommend checking the specific post types for your DIVI theme's footer, header, and body layouts directly in your WordPress admin area. You can access these areas using the following links:
Please visit the following URLs and check if you can translate the templates.
Footer: yourdomain/wp-admin/edit.php?post_type=et_footer_layout
Header: yourdomain/wp-admin/edit.php?post_type=et_header_layout
Body: yourdomain/wp-admin/edit.php?post_type=et_body_layout
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 this does not resolve your issue, please open a new support ticket with us for further assistance.
Problème : Vous tentez de traduire des custom fields ajoutés sur des catégories produits WooCommerce via un fichier JSON géré par ACF, mais vous rencontrez des difficultés pour les rendre accessibles dans WPML > Settings > Custom Fields Translation, même avec l'option 'show System fields' cochée. Les champs sont visibles dans Custom Terms, mais pas dans l'endroit attendu. Solution : 1. Assurez-vous que les custom fields pour les catégories WooCommerce, qui sont considérées comme une taxonomie, soient cherchés dans 'Custom Term Meta Translation' plutôt que dans 'Custom Fields Translation'. 2. Vérifiez les paramètres de traduction dans WPML et ACF. Pour les champs textuels et les images, ils doivent être déclarés avec l'option 'Translate' pour être traduisibles via l'éditeur de traduction. Pour les images, vous pouvez également utiliser l'option 'Copy' pour que l'ID de l'image d'origine soit copié comme valeur de traduction, ce qui permettra d'appeler l'image traduite via Media Translation. 3. Alignez vos paramètres de mode de traduction dans les réglages WPML et ACF pour obtenir le comportement désiré.
Si cette solution ne résout pas votre problème ou semble dépassée, nous vous recommandons de vérifier les problèmes connus, de confirmer que vous avez installé les dernières versions de vos thèmes et plugins, et si nécessaire, d'ouvrir un nouveau ticket de support sur notre forum de support.
Problem: Der Kunde möchte im Sprachumschalter auf der Hauptseite eine eigene Auswahl für die Schweiz mit einem Ländersymbol erstellen und bei Auswahl dieser Option auf eine externe URL (nets360.ch) weiterleiten. Solution: Wir unterstützen diese Funktion standardmäßig nicht, da nur die konfigurierten Sprachen angezeigt werden. Die URL wird für jede konfigurierte Sprache generiert. Sie können jedoch diese Funktionalität über PHP selbst implementieren. Hier sind einige mögliche Lösungsansätze:
Falls diese Lösung veraltet ist oder nicht auf Ihr Problem zutrifft, empfehlen wir Ihnen, ein neues Support-Ticket zu eröffnen. Wir empfehlen auch, die Seite mit bekannten Problemen (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.
Problem: The client is experiencing an issue where the Custom 404 Pro plugin, even though translated following the rules, links to the Italian error page instead of the English one when switching languages. This causes the settings for the Italian page to be deleted. Solution: Since the Custom 404 Pro plugin is not officially compatible with WPML, we recommend adding the following custom code to the
functions.php
file in your theme folder:
add_action('template_redirect', function() {
global $wpdb;
// Define the custom table name
$table_options = $wpdb->prefix . 'custom_404_pro_options';
// Get the stored 404 page ID from the custom table
$page_id = $wpdb->get_var("SELECT value FROM $table_options WHERE name = 'mode_page'");
if (is_404() && $page_id && function_exists('icl_object_id')) {
$translated_page_id = icl_object_id($page_id, 'page', true);
if ($translated_page_id && $translated_page_id != $page_id) {
$translated_page_url = get_permalink($translated_page_id);
if ($translated_page_url) {
wp_redirect($translated_page_url, 302);
exit;
}
}
}
});
Please test this code in a staging environment before applying it to your live site. Additionally, consider contacting the plugin authors to encourage them to join our Go Global Program.
If this solution does not resolve your issue or seems outdated, please check our related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If necessary, do not hesitate to open a new support ticket.
Problème : Le client a ajouté deux champs personnalisés aux variations de produits (Code article et Code CC) qui ne s'affichent pas dans l'éditeur de traduction. Ces champs ne sont pas gérés par ACF mais créés avec un script PHP dans le fichier functions.php. Solution : Nous avons recommandé de changer le statut de traduction de ces champs en « copy » au lieu de « translate » pour que WPML copie automatiquement ces champs lors de la traduction. Si les champs étaient gérés par ACF, il faudrait modifier le mode de traduction du groupe de champs personnalisés en « expert » via ACF pour ajuster les préférences de traduction pour chaque champ. Comme les champs sont créés via un script PHP personnalisé, nous avons fourni des liens vers la documentation et des ressources pour aider à configurer la traduction de champs créés de cette manière :
Si cette solution ne résout pas votre problème ou semble dépassée, nous vous recommandons de vérifier les problèmes connus, de confirmer que vous avez installé les dernières versions des thèmes et plugins, et d'ouvrir un nouveau ticket de support si nécessaire. Pour toute assistance supplémentaire, veuillez visiter notre forum de support.
Problem: You have a Divi site with WPML and have translated a Divi layout. You want to change the text 'discover this product' to 'discover' but cannot find the string in WPML. Solution: First, we added a custom XML configuration to ensure WPML recognizes the specific shortcode used in your Divi layout. Here is the XML you should add in WPML > Settings > Custom XML Configuration:
If the custom XML configuration does not take effect, the issue might be with the language files. We recommend deleting the language file 'divi-machine-en_US.mo' from the /wp-content/languages/wpml folder. Please ensure to back up your site before making this change.
If this solution does not resolve 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.