This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This thread is resolved. Here is a description of the problem and solution.
I use the plugin "WooCommerce Sendinblue newsletter subscription" in order to have an newsletter opt-in checkbox on the WooCommerce checkout page.
I'm trying to make this checkbox language-wise, i.e. adapt the checkbox label and set the right subscription list.
It seems that there's a compatibility issue between the plugin and WPML. The Sendinblue plugin's settings are loaded and stored too early. In this case, can you follow these steps and try again to add the translation, please?
- go to wp-content/plugins/woocommerce-sendinblue-newsletter-subscription/;
- open the woocommerce-sendinblue.php file;
- replace this line
'label' => esc_attr($this->customizations['ws_opt_field_label']),
with this one:
'label' => esc_attr(apply_filters( 'wpml_translate_single_string', $this->customizations['ws_opt_field_label'], 'admin_texts_wc_sendinblue_settings', '[wc_sendinblue_settings]ws_opt_field_label')),