Location: PHPKode > projects > WebChess > lang.php
<?

$GETTEXT_SUPPORT = false;

// Must do some testing before releasing it to mainstream
if($GETTEXT_SUPPORT) {
	//$LANGUAGE = 'es_ES';
	$LANGUAGE = 'en_US';

	putenv("LANG=$LANGUAGE"); 
	setlocale(LC_ALL, $LANGUAGE);

	// Set the text domain as 'webchess'
	$domain = 'webchess';
	bindtextdomain($domain, "./locale"); 
	textdomain($domain);
}
?>
Return current item: WebChess