Added support for Español, thanks @lafm1990

This commit is contained in:
billz 2019-01-13 08:52:29 +00:00
parent fc489f554c
commit 7b604a99a7
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ if (empty($_SESSION['locale']) && strlen($_SERVER['HTTP_ACCEPT_LANGUAGE']) >= 2)
case "ru":
$locale = "ru_RU.UTF-8";
break;
case "es":
$locale = "es_MX.UTF-8";
break;
default:
$locale = "en_GB.UTF-8";
break;