Overview of the Issue
Since version 4.15.3, Give – Donation Plugin no longer includes its wpml-config.xml file. Because of this:
- WPML does not make donation forms translatable.
- The donor email texts, such as the donation receipt, are not in String Translation, so donors get every email in the default language.
Workaround
Until GiveWP ships its wpml-config.xml file again, add the configuration by hand:
- Go to WPMLSettings and open the Custom XML Configuration tab.
- Paste the code below and click Save.
- Go to WPMLString Translation and translate the texts in the admin_texts_give_settings context.
<wpml-config>
<custom-types>
<custom-type translate="1">give_forms</custom-type>
<custom-type translate="0">give_payment</custom-type>
<custom-type translate="0">give_log</custom-type>
</custom-types>
<taxonomies>
<taxonomy translate="0">give_log_type</taxonomy>
</taxonomies>
<admin-texts>
<key name="give_settings">
<key name="success_page"/>
<key name="failure_page"/>
<key name="history_page"/>
<key name="global_offline_donation_content"/>
<key name="donation_notification"/>
<key name="donation_receipt"/>
<key name="offline_donation_subject"/>
<key name="global_offline_donation_email"/>
<key name="subscription_notification_subject"/>
<key name="subscription_receipt_message"/>
<key name="subscription_cancelled_subject"/>
<key name="subscription_cancelled_message"/>
<key name="donation-receipt_email_message"/>
<key name="donation-receipt_email_subject"/>
<key name="donation-receipt_email_header"/>
<key name="offline-donation-instruction_email_header"/>
<key name="offline-donation-instruction_email_subject"/>
<key name="offline-donation-instruction_email_message"/>
<key name="donor-register_email_subject"/>
<key name="donor-register_email_header"/>
<key name="donor-register_email_message"/>
<key name="donor-note_email_subject"/>
<key name="donor-note_email_header"/>
<key name="donor-note_email_message"/>
</key>
</admin-texts>
</wpml-config>