Belege: E-Mail-Dialog: Sprache für Anhang-Übersetzung setzen
[kivitendo-erp.git] / bin / mozilla / io.pl
index 1c8145c..4562af0 100644 (file)
@@ -2050,6 +2050,9 @@ sub show_sales_purchase_email_dialog {
 
   $email = '' if $::form->{type} eq 'purchase_delivery_order';
 
+  $::form->{language} = $::form->get_template_language(\%::myconfig);
+  $::form->{language} = "_" . $::form->{language};
+
   my $email_form = {
     to                  => $email,
     cc                  => $email_cc,