mirror of
https://github.com/rottenwheel/moner.ooo.git
synced 2024-12-22 21:59:21 +00:00
Added new Languages
Translation outstanding
This commit is contained in:
parent
98baab5111
commit
1f6bbb915b
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ if($lang == 'zh'){
|
|||
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 5);
|
||||
}
|
||||
|
||||
$acceptLang = ['de','es','it','zh-CN'];
|
||||
$acceptLang = ['de','es','it','zh-CN','nl','pl','el','pt','ru'];
|
||||
$lang = in_array($lang, $acceptLang) ? $lang : 'en';
|
||||
$lang = strtolower($lang);
|
||||
require_once "lang/{$lang}.php";
|
||||
|
|
Loading…
Reference in a new issue