summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'inc.i18n.php')
-rw-r--r--inc.i18n.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/inc.i18n.php b/inc.i18n.php
index 8372616..53ca607 100644
--- a/inc.i18n.php
+++ b/inc.i18n.php
@@ -9,6 +9,7 @@
'fr_FR' => 'French',
'tr_TR' => 'Turkish',
'it_IT' => 'Italian',
+ 'ru_RU' => 'Russian',
);
if($_SERVER['HTTP_HOST'] == "cs.znurt.org") {
@@ -28,9 +29,12 @@
} elseif($_SERVER['HTTP_HOST'] == "it.znurt.org" || $lingua == "it") {
$lingua = "it";
$locale = "it_IT";
- } elseif($_SERVER['HTTP_HOST'] == "tr.znurt.org") {
+ } elseif($_SERVER['HTTP_HOST'] == "tr.znurt.org" || $lingua == "tr") {
$lingua = "tr";
$locale = "tr_TR";
+ } elseif($_SERVER['HTTP_HOST'] == "ru.znurt.org" || $lingua == "ru") {
+ $lingua = "ru";
+ $locale = "ru_RU";
} else
$lingua = "en";