From 241fbd29081a6fbfc2c2bccf6fa82e035364a695 Mon Sep 17 00:00:00 2001 From: Mirco Babini Date: Sun, 8 Nov 2020 16:29:10 +0100 Subject: [PATCH] =?UTF-8?q?Move=20=E2=82=AC=20symbol=20to=20the=20left=20f?= =?UTF-8?q?or=20de=5F*=20locales?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/currencies.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/currencies.php b/includes/currencies.php index 51d47bd02..b3ddeec83 100644 --- a/includes/currencies.php +++ b/includes/currencies.php @@ -122,9 +122,13 @@ */ function pmpro_euro_position_from_locale($position = 'right') { $locale = get_locale(); + if(strpos($locale, 'en_') === 0) { $position = 'left'; + }elseif(strpos($locale, 'de_') === 0) { + $position = 'left'; } + return $position; }