Added locale support for de_DE, thanks Tino

This commit is contained in:
billz
2018-06-15 18:23:47 +00:00
parent b72ec32f4a
commit 9dd2fc2b65
2 changed files with 4 additions and 0 deletions

View File

@@ -17,6 +17,9 @@
if (empty($_SESSION['locale'])) {
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
switch ($lang){
case "de":
$locale = "de_DE.UTF-8";
break;
case "fr":
$locale = "fr_FR.UTF-8";
break;