From 7f12ef1cee9e17686f3ce2c3062f2f261df9ea1c Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 14 Jan 2020 09:23:13 +0000 Subject: [PATCH] Added support for Greek. Thanks Chris K! --- includes/locale.php | 3 +++ includes/system.php | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/locale.php b/includes/locale.php index 902feb69..c903dcd6 100755 --- a/includes/locale.php +++ b/includes/locale.php @@ -66,6 +66,9 @@ if (empty($_SESSION['locale']) && strlen($_SERVER['HTTP_ACCEPT_LANGUAGE']) >= 2) case "vi": $locale = "vi_VN.UTF-8"; break; + case "el": + $locale = "el_GR.UTF-8"; + break; default: $locale = "en_GB.UTF-8"; break; diff --git a/includes/system.php b/includes/system.php index b4ade05e..bd174af9 100755 --- a/includes/system.php +++ b/includes/system.php @@ -116,7 +116,8 @@ function DisplaySystem() 'es_MX.UTF-8' => 'Español', 'fi_FI.UTF-8' => 'Finnish', 'si_LK.UTF-8' => 'Sinhala', - 'tr_TR.UTF-8' => 'Türkçe' + 'tr_TR.UTF-8' => 'Türkçe', + 'el_GR.UTF-8' => 'Ελληνικά' ); if (isset($_POST['system_reboot'])) {