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

Added support for Russian, thanks Betep

This commit is contained in:
billz 2018-11-19 16:44:15 +00:00
parent 68163ac177
commit d512219fb0

View File

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