You are experiencing a 500 error when trying to add an English translation to your site, which already has Ukrainian and Russian translations. The error occurs when attempting to translate multiple elements at once.
Solution:
First, ensure you have the latest version of WPML (4.7.1 series) installed. Before updating, perform a full site backup. You can check for updates under Plugins>>Add New>>Commercial tab and click on the *Check for updates* button.
If the issue persists, proceed with the following troubleshooting steps on the WPML>>Support page under the Troubleshooting link:
1) Clear the cache in WPML 2) Remove ghost entries from the translation tables 3) Fix element_type collation 4) Set language information 5) Fix WPML tables collation 6) Assign translation status to duplicated content 7) Fix terms count 8) Fix post type assignment 9) Cleanup and optimize string tables
If these steps do not resolve the issue, the solution might be outdated or not applicable to your specific case. We recommend visiting related 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.
Problem: The client initially developed a website in French and later added Dutch and English. They encountered issues translating the ALT tags of images using the WPML editor, despite enabling the option to 'Translate Media Library Texts with Posts'. The ALT tags were not appearing in the editor, and the client wanted to avoid translating each image individually. Solution: We advised the client to ensure that the option 'Translate Media Library Texts with Posts' is activated in WPML -> Settings -> Media Translation. This setting allows for the translation of media meta-information using the WPML editor. Additionally, meta-information for any media can be edited in the library by changing the language in the top administration bar or using the WPML Media Translation add-on. It was also noted that the Divi widget might remove the ALT metadata from images, making them unavailable in the WPML post translation. Therefore, the recommended approach is to use Media Translation for images that could not be translated with the 'Translate Media Library Texts with Posts' option.
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 WPML support forum.
Problème : Le client rencontre un problème où les liens intra-site ne changent pas correctement de langue lorsqu'ils passent d'une langue à une autre. Les liens sont définis manuellement et ne sont pas conservés après modification. Solution : Nous recommandons de ne pas modifier manuellement les URLs et le contenu directement depuis la page elle-même. Pour les URLs non dynamiques, il est nécessaire de les traduire manuellement via l'éditeur de traduction de WPML. Pour faciliter ce processus, vous pouvez utiliser la fonction de recherche pour 'http' dans l'éditeur de traduction pour voir toutes les URLs détectées par WPML. Si une URL n'est pas détectée, contactez-nous pour obtenir de l'aide. De plus, pour les utilisateurs d'Elementor gratuit, ajoutez le code XML suivant dans WPML > Settings > Custom XML Configuration pour enregistrer les champs d'URL afin que WPML les inclue dans l'éditeur de traduction :
<custom-xml-configuration-code>
Si cette solution ne résout pas votre problème 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.
Problem: The client is experiencing an issue where the hreflang links are pointing to the wrong domain on their multilingual sites, specifically the Swedish links are incorrect, pointing to .de and .com instead of .se. Despite having the WPML SEO addon installed and ensuring all plugins are updated, the issue persists. Solution: We identified that the problem stems from the code in the wp-config.php file, which uses
$_SERVER['HTTP_HOST']
to define WP_SITEURL and WP_HOME. This can lead to incorrect domain references because it depends on the main site defined in the server configuration. We recommend modifying this code to avoid reliance on
$_SERVER['HTTP_HOST']
, or alternatively, contacting your hosting provider to address this configuration issue.
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 further assistance is needed, please open a new support ticket at WPML support forum.
Problem: The client was experiencing an issue where only the first 200 posts were being assigned to the correct languages during an import process using WP All Export / Import PRO and WPML Import. The error message indicated 'Setting Posts’ Language (200/7809 items) 7609 skipped'. Solution: The client discovered that the issue was due to a default limit set in the WPML Import plugin's code. By modifying the constants
DEFAULT_LIMIT
in the files
./classes/Commands/Base/CleanupFields.php
and
./classes/Commands/Base/SetEntitiesLanguage.php
from 200 to 10000, the import functioned correctly. We have noted this adjustment for future reference.
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 further assistance is needed, please open a new support ticket at WPML support forum.