1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Added support for Finnish & Sinhala locales

This commit is contained in:
billz 2019-03-04 23:11:31 +00:00
parent 4f61501794
commit b0c4e54aec

View File

@ -47,6 +47,12 @@ if (empty($_SESSION['locale']) && strlen($_SERVER['HTTP_ACCEPT_LANGUAGE']) >= 2)
case "es":
$locale = "es_MX.UTF-8";
break;
case "fi":
$locale = "fi_FI.UTF-8";
break;
case "si":
$locale = "si_LK.UTF-8";
break;
default:
$locale = "en_GB.UTF-8";
break;