Problem: If you're experiencing a critical error after updating WPML from version 4.6.11 on a staging site running PHP 8.2, it might be due to a file naming conflict in the Yoast WHIP vendor library on case-sensitive servers. This issue does not appear on local copies or the live website.
Solution: We recommend the following steps to resolve this issue: 1. Navigate to the WordPress Dashboard > Plugins. 2. Deactivate and delete the WPML plugin. 3. Reinstall the latest version of WPML from our official website.
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 problem persists, please open a new support ticket.
Problem: You are trying to translate the 'Previous / Next' text in the Query block's navigation block within a WordPress FSE template part, but cannot find the pagination text in String Translation. Solution: If you're experiencing this issue, we recommend you follow these steps: 1. Navigate to WPML > Settings > Custom XML Configuration tab. 2. Paste the following XML code:
3. After pasting, your screen should resemble the example shown here: screenshot. 4. Make a minor adjustment to the pattern so that WPML can recognize the new elements, then retranslate.
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 needs to use different images in FSE template parts based on the language, specifically for logos that include text in English and French versions. The media translation plugin works for content but not for FSE template parts. Solution: We recommend manually editing the translation of the templates. Here are the steps: 1. Edit your template in the default language. 2. Switch to the desired language using the language switcher in the admin bar. 3. Manually add a different media file for the logo in the template and update. Alternatively, you can: 1. Go to WPML->String Translation. 2. Search for the Logo URL. 3. Translate it by adding the URL to the image you want to use for the different language. However, these methods are workarounds. For a more consistent solution, follow the steps in our documentation on translating sites that use full site editing, which you can find here: Translating sites that use full site editing.
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.