WPML
Status
Open
Reported for
WPML Multilingual & Multicurrency for WooCommerce 5.3.8
Topic tags
Bug, Compatibility, WCML

Overview of the issue

When translating a WooCommerce payment gateway settings (such as titles and descriptions) through WPML String Translation add-on, the strings revert to a “needs update” status after visiting the front-end, particularly during the checkout process.

Workaround

Please, make sure of having a full site backup of your site before proceeding.


  • Open …/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php file.

  • Look for line 78.

  • Replace:
    			$this->register_gateway_settings_strings( $load_gateway->id, $load_gateway->settings );

  • With:
    			if (is_admin()) {
    				$this->register_gateway_settings_strings( $load_gateway->id, $load_gateway->settings );
    			}

All known issues →