mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Added locale support for de_DE, thanks Tino
This commit is contained in:
parent
b72ec32f4a
commit
9dd2fc2b65
@ -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;
|
||||
|
@ -66,6 +66,7 @@ function DisplaySystem(){
|
||||
// define locales
|
||||
$arrLocales = array(
|
||||
'en_GB.UTF-8' => 'English',
|
||||
'de_DE.UTF-8' => 'Deutsche',
|
||||
'fr_FR.UTF-8' => 'Français',
|
||||
'it_IT.UTF-8' => 'Italiano',
|
||||
'pt_BR.UTF-8' => 'Português',
|
||||
|
Loading…
Reference in New Issue
Block a user