String Translations in Donor Email
-
Hello,
On multilanguage site some translations for Donations not working. For translations we use WPML plugin. Translations that are not working is translation in {receipt_link} template tag in Donation Receipt, and this is email sent to donor. {payment_method} is also not working. Actually this two string is always in english.
In {receipt_link} text is View the receipt in your browser » and I tried translate it with Loco Translate and WPML, I also looked it at po and mo files and translations exists. When I click on Preview Email in admin, translation is correct, but in email is always in english.
I found that this is give_get_view_receipt_link in misc-functions file, I also tried to use double underscore function for translation, there is esc_html__ so I thought maybe this is problem, but with no success.
In WPML for translations now is default settings, Forms are set to Translatable, Donations are set to Not translatable and this is set by wpml-config.xml file. I suppose that this is correct, because other translations work correct.
Is there maybe some way to translate this? Does this give_get_view_receipt_link function even recognize language of donation? Does settings of Donations have something to do woth this?
Thanks
- The topic ‘String Translations in Donor Email’ is closed to new replies.