diff --git a/frappe/www/contact.py b/frappe/www/contact.py index 78743bb138..da924aa1b6 100644 --- a/frappe/www/contact.py +++ b/frappe/www/contact.py @@ -46,11 +46,12 @@ def send_message(sender, message, subject="Website Query"): # for clearing outgoing email error message frappe.clear_last_message() + system_language = frappe.db.get_single_value("System Settings", "language") # add to to-do ? frappe.get_doc( doctype="Communication", sender=sender, - subject=_("New Message from Website Contact Page"), + subject=_("New Message from Website Contact Page", system_language), sent_or_received="Received", content=message, status="Open",