12-13-2008, 07:33 AM
I'm now creating a multiple language support for THT.
How it works:
-The compile.php file (this file gets always loaded) loads english.php.inc
-english.php.inc contains the language array
-if THT needs text, it gets the text out of the language array
How it works:
-The compile.php file (this file gets always loaded) loads english.php.inc
-english.php.inc contains the language array
-if THT needs text, it gets the text out of the language array
PHP Code:
<?
$lang = array(
#-----------------------------#
# ORDER FORM #
#-----------------------------#
#-----------------------------#
# order/index.php #
#-----------------------------#
'order_name' => "Order Form",
'order_sub' => "Account Creation",
'order_info' => "IP Logged: ",
'order_error_ipexists' => "IP Already Exists!",
'order_error_ipexists2' => "Your IP already exists in the database!",
'order_error_nopackages' => "No packages",
'order_error_nopackages2' => "Sorry there are no packages on this server!",
) ;
?>