|
|
|
@ -2,23 +2,26 @@
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
$lang=$_GET['lang'];
|
|
|
|
|
if ( !in_array ($lang, array('en_US'))){
|
|
|
|
|
$locale = $lang;
|
|
|
|
|
if ( in_array ($lang, array('en_US'))){
|
|
|
|
|
|
|
|
|
|
$loc = "$lang".".utf8";
|
|
|
|
|
$loc1 = $lang;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
$locale = "de_DE";
|
|
|
|
|
|
|
|
|
|
$loc = "de_DE";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# $locale = "en_US";
|
|
|
|
|
$domain = "messages";
|
|
|
|
|
|
|
|
|
|
setlocale(LC_MESSAGES, $locale);
|
|
|
|
|
setlocale(LC_ALL, $locale);
|
|
|
|
|
setlocale(LC_MESSAGES, $loc);
|
|
|
|
|
setlocale(LC_ALL, $loc);
|
|
|
|
|
|
|
|
|
|
$results = putenv("LC_ALL=$locale");
|
|
|
|
|
$results = putenv("LC_MESSAGES=$locale");
|
|
|
|
|
$results = putenv("LC_ALL=$loc");
|
|
|
|
|
$results = putenv("LC_MESSAGES=$loc");
|
|
|
|
|
$results = bindtextdomain($domain,"./locale");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
<html >
|
|
|
|
@ -203,7 +206,7 @@ Grund für abweichende kontoinhabende Person"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="is-col ">
|
|
|
|
|
<?php
|
|
|
|
|
$ct = @file_get_contents( "./locale/$locale/h1.php");
|
|
|
|
|
$ct = @file_get_contents( "./locale/$loc1/h1.php");
|
|
|
|
|
if ($ct==false)
|
|
|
|
|
$ct = file_get_contents( "h1.php");
|
|
|
|
|
echo $ct;
|
|
|
|
@ -283,7 +286,7 @@ Grund für abweichende kontoinhabende Person"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="is-col">
|
|
|
|
|
<?php
|
|
|
|
|
$ct = @file_get_contents( "./locale/$locale/h2.php");
|
|
|
|
|
$ct = @file_get_contents( "./locale/$loc1/h2.php");
|
|
|
|
|
if ($ct==false)
|
|
|
|
|
$ct = file_get_contents( "h2.php");
|
|
|
|
|
echo $ct;
|
|
|
|
|