STAUFFi
12th April 2014, 06:47
Hey,
I working on a Homepage for my TS3 Project.
Here is my Question.
How i can including some Languages like German or English?
I have this Simple script now:
<?php
$page = (isset($_GET['page'])) ? $_GET['page'] : "news";
?>
&
<?php
if(file_exists("pages/".$page.".php")) {
include ("pages/".$page.".php");
} else {
echo "Error 404";
}
?>
The Scripts including some stuff from folder "pages".
How i can make it multilanguage?
Greets
I working on a Homepage for my TS3 Project.
Here is my Question.
How i can including some Languages like German or English?
I have this Simple script now:
<?php
$page = (isset($_GET['page'])) ? $_GET['page'] : "news";
?>
&
<?php
if(file_exists("pages/".$page.".php")) {
include ("pages/".$page.".php");
} else {
echo "Error 404";
}
?>
The Scripts including some stuff from folder "pages".
How i can make it multilanguage?
Greets