Problem: You are working on your website and have translated reviews using WPML's String translations. However, when you switch the site language, the reviews still appear in their original language despite settings adjustments to show reviews in all languages. Solution: First, we recommend inserting the following custom PHP code into your theme's functions.php file to ensure that reviews display correctly in the selected language:
add_filter ('the_comments', 'remove_hooks10903');
function remove_hooks10903($var) {
global $wp_filter;
foreach ( $wp_filter["the_comments"]->callbacks[10] as $key => $value ) {
if ( str_contains( $key, 'translate_product_ids' ) ) {
remove_filter( 'the_comments', $key );
}
}
return $var;
}
Additionally, ensure you have the latest version of the WooCommerce Multilingual & Multicurrency plugin. The issue you're experiencing should be fixed in version 5.5.0. Please backup your site and update the plugin by downloading the latest version from WPML Downloads.
If the problem persists or the solution provided here becomes outdated, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please do not hesitate to open a new support ticket at WPML Support Forum for further assistance.
Problem: If you're experiencing an issue where the price in the secondary currency (US dollar) is incorrect when updating the order status from processing to completed, and it seems to ignore the dot in the exchange rate, resulting in incorrect price calculations. Solution: We recommend updating your WooCommerce Multilingual & Multicurrency plugin to the latest version, 5.5.0, which includes bug fixes and improvements that might resolve this issue. You can find the latest version under My Account -> Downloads on our website. For instructions on how to update, please visit http://wpml.org/faq/install-wpml/. If you do not see the updates available, try clicking the "Check for updates" button in the Plugins → Add New Plugin → Commercial tab. After updating, if the problem still occurs, we suggest trying to replicate the issue on a test installation. Please ensure to back up your database before proceeding.
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 the issue persists, please open a new support ticket at WPML support forum for further assistance.