Belege: E-Mail-Dialog: Sprache für Anhang-Übersetzung setzen
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Mon, 2 Sep 2019 15:59:49 +0000 (17:59 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Mon, 2 Sep 2019 16:00:44 +0000 (18:00 +0200)
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,