Hi everyone,
I have a small cosmetic issue that is bothering me for some days now…
Inside my custom print format I’m fetching the field data of the linked customer contact person (quotation + invoice).
I’m fetching and using the data with the following command:
{% set my_company_contact = frappe.get_doc("Contact", doc.contact_person) %}
<br>
{{ my_company_contact.get_formatted('salutation') }} {{ my_company_contact.get_formatted('first_name') }} {{ my_company_contact.get_formatted('last_name') }}
And the commands are working, but due to the fact that I’m working with the system in German language, I’m expecting something translated like “Herr XXX YYY”.
Instead I’m still getting “Mr XXX YYY”.
Does someone know how I can bring the system to give me the correct german translation, which is even shown if I open up the contact directly?