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.
MailPoet - Checkbox opt-in message - if the user changes the message the string cannot be found for translation
1. Open the following file with the text or code editor that you are using.
2. Change this line:
<span class="woocommerce-terms-and-conditions-checkbox-text">' . $this->wp->escHtml($label_string) . '</label>
<span class="woocommerce-terms-and-conditions-checkbox-text">' . esc_html_e($label_string, 'wpml-fix') . '</label>
3. Save the change.
4. Visit the page on the front-end where this string is showing and this way the string will be registered.
5. Go to String Translation, and you will find this string under the 'wpml-fix' domain.
6. Translate the string.
It will now also work on the front-end.