Problem: The client is experiencing an issue where the original product page on a WooCommerce site using WPML does not correctly switch to its translated version. Instead, it redirects to the translated homepage. Solution: We reviewed the client's setup and noticed that the translated product is visible and published, but the language switch issue persists on the original product page. We recommend the following steps: 1. Ensure that the original and translated products are properly connected in WPML. This can be checked under the 'Languages' section in the WordPress admin. 2. Verify that the language switcher settings are correctly configured to redirect to the translated product pages rather than the homepage. This setting can be adjusted in WPML's 'Language URL format' settings. 3. Clear any cache on the site, as caching plugins or server-side caching can sometimes cause issues with dynamic content like language switching. 4. If these steps do not resolve the issue, we suggest checking for any custom CSS or JavaScript that might interfere with the proper functioning of the language switcher.
If the problem persists, please visit our support forum at WPML support forum for further assistance. 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. If the solution provided here becomes irrelevant due to updates or does not apply to your case, please open a new support ticket.
If you're experiencing a fatal error on an ACF options page when using a different language, specifically an error related to 'Maximum call stack size' and infinite recursion, this might be due to the recent changes where options were added to the translations dashboard.
Solution:
This is fixed in ACFML 2.2.2, please update to the latest version.
Problem: The client is experiencing issues with the WPML language switcher not appearing correctly in the menu when using a custom theme. The switcher either does not show up at all when set to display flags only, or appears messy when set to display names. Solution: We determined that the issue is related to how the custom theme handles the header/menu output, which affects the display of the WPML language switcher. Since this behavior is controlled by the theme and not WPML, we recommend contacting the theme author to adjust the header template or custom menu walker to support the WPML menu language switcher output properly. As a temporary workaround, you can add custom CSS to visually include the flags. You can do this by navigating to your WordPress admin, going to Appearance → Customize → Additional CSS, and adding the following code:
Please note, this solution may not work if the switcher is configured as a dropdown, as dropdowns are usually controlled by the theme’s JavaScript and custom markup.
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 the problem persists, please open a new support ticket.
Problem: The client is experiencing issues with assigning credits to the live website on pacera.com, having previously used credits on both the live and staging sites. Solution: We recommend re-registering the website to correctly assign the credits. Please follow these steps: 1. Visit https://wpml.org/account/sites and remove the website from the list (both pacera.com and staging.pacera.com, if they're both there); 2. Add pacera.com again and copy the newly generated key; 3. In your website's admin panel, go to Plugins > Add New > Commercial Tab and click on "Unregister WPML from this site"; 4. Register the website again, with the key you copied in step #2. This process should resolve the issue by reallocating the credits to the correct site.
If this solution does not apply to your situation, 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 at WPML support forum.
Problem: If you're experiencing an issue where a string is not outputting in the Estonian language and instead shows in English, despite being translated in WPML String Translation, this might be due to the text domain settings. For instance, using
esc_html_e( 'Privacy settings', 'cookieconsent' )
might not work, but changing the text domain to your theme's text domain, like
__( 'Privacy settings', 'child-theme' )
, resolves the issue.
Solution: We recommend keeping the function that outputs the string and then scanning your theme for strings. Here are the steps: 1. Keep the function:
2. Go to your WordPress Dashboard > WPML > Theme and plugins localization and select your theme to scan. 3. After the scan, navigate to WordPress Dashboard > WPML > String translation and search for the string in question. 4. Ensure the content of the string matches the flag next to it. If not, set the source language correctly by following this guide: How to change the source language of strings. 5. Complete the translation and check the front end.
If this solution does not resolve your issue or seems irrelevant due to being 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.
Problem: You have translated a Revolution Slider with three slides, each assigned a Dutch language version. The first slide displays correctly on the translated page, but the second and third slides appear empty. Solution: We recommend switching the slider engine in the "Globals" settings from SR7 to SR6 engine. This change often resolves display issues with translated slides. Additionally, consider using directories for language settings instead of the current method, as this approach generally avoids such issues. For setting up language directories and implementing redirects, please refer to Google's recommendations here.
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 the problem persists, please open a new support ticket with us for further assistance.
Problem: You are experiencing issues with your website not working in the Arabic version after enabling the automatic translation feature and deleting duplicate products. Solution: We recommend enabling WordPress debugging to identify the root cause of the issue. Here are the steps you should follow: 1. Edit your wp-config.php file to enable debugging. Insert the following lines before the comment /* That's all, stop editing! Happy publishing. */:
2. Replicate the error by performing the actions that led to the issue. 3. Check the debug.log file located in the /wp-content/debug.log for any WPML-related errors. 4. Copy and paste the full error message here for further analysis.
If this solution does not resolve your issue or seems irrelevant due to being 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 further assistance is needed, please open a new support ticket at WPML support forum.