mirror of
https://github.com/CAcertOrg/cats.git
synced 2024-11-08 07:04:03 +00:00
Added code to make czech language available
This commit is contained in:
parent
ce077f351b
commit
6366dc6793
3 changed files with 5 additions and 1 deletions
|
@ -10,6 +10,8 @@
|
||||||
include_once ("lang/dutch.php");
|
include_once ("lang/dutch.php");
|
||||||
} elseif(isset($_SESSION['profile']['language']) && $_SESSION['profile']['language']=='ES'){
|
} elseif(isset($_SESSION['profile']['language']) && $_SESSION['profile']['language']=='ES'){
|
||||||
include_once ("lang/spanish.php");
|
include_once ("lang/spanish.php");
|
||||||
|
} elseif(isset($_SESSION['profile']['language']) && $_SESSION['profile']['language']=='CZ'){
|
||||||
|
include_once ("lang/czech.php");
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
include_once ("lang/english.php");
|
include_once ("lang/english.php");
|
||||||
|
@ -22,6 +24,7 @@
|
||||||
elseif(isset($_SESSION['profile']['language']) && $_SESSION['profile']['language']=='FR') include_once ("lang/french.php");
|
elseif(isset($_SESSION['profile']['language']) && $_SESSION['profile']['language']=='FR') include_once ("lang/french.php");
|
||||||
elseif(isset($_SESSION['profile']['language']) && $_SESSION['profile']['language']=='NL') include_once ("lang/dutch.php");
|
elseif(isset($_SESSION['profile']['language']) && $_SESSION['profile']['language']=='NL') include_once ("lang/dutch.php");
|
||||||
elseif(isset($_SESSION['profile']['language']) && $_SESSION['profile']['language']=='ES') include_once ("lang/spanish.php");
|
elseif(isset($_SESSION['profile']['language']) && $_SESSION['profile']['language']=='ES') include_once ("lang/spanish.php");
|
||||||
|
elseif(isset($_SESSION['profile']['language']) && $_SESSION['profile']['language']=='CZ') include_once ("lang/czech.php");
|
||||||
else include_once ("lang/german.php");
|
else include_once ("lang/german.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,7 @@ $languagecode = empty($_SESSION['profile']['language']) ? "en" : strtolower($_SE
|
||||||
<div>
|
<div>
|
||||||
<select size="1" class="dropdown_language" name="language">
|
<select size="1" class="dropdown_language" name="language">
|
||||||
<option value="none">choose language</option>
|
<option value="none">choose language</option>
|
||||||
|
<option value="CZ">CZ</option>
|
||||||
<option value="DE">DE</option>
|
<option value="DE">DE</option>
|
||||||
<option value="EN">EN</option>
|
<option value="EN">EN</option>
|
||||||
<option value="ES">ES</option>
|
<option value="ES">ES</option>
|
||||||
|
|
Loading…
Reference in a new issue