diff --git a/Frontend/WirecardCheckoutSeamless/Bootstrap.php b/Frontend/WirecardCheckoutSeamless/Bootstrap.php index d961974..2111894 100644 --- a/Frontend/WirecardCheckoutSeamless/Bootstrap.php +++ b/Frontend/WirecardCheckoutSeamless/Bootstrap.php @@ -91,14 +91,23 @@ public function getInfo() $shopversion = '>5.2.21'; } - $copLink = 'Wirecard Checkout Portal'; - + $language = Shopware()->Locale()->getLanguage(); + switch ($language) { + case 'en': + $copLink = 'Wirecard Checkout Portal'; + break; + case 'it': + $copLink = 'Wirecard Checkout Portal'; + break; + case 'nl': + $copLink = 'Wirecard Checkout Portal'; + break; + case 'de': + default: + $copLink = 'Wirecard Checkout Portal'; + break; + } $image = dirname(__FILE__) . '/wirecard-logo.png'; $imageData = base64_encode(file_get_contents($image));