Skilled Illusionist
- Joined
- Oct 28, 2008
- Messages
- 379
- Reaction score
- 47
Hi,
did you have to same problem, you change the default language in common.php, but ingame you still see the frence, well here is a guide how to make your Xnova fully multi languaged. I'll explain with english.
first download the languagepack here
Unzip the file and put it in the language folder.
Now open common.php wich is in your Xnova folder.
Scroll down and you'll see something like this.
Change the fr in en, like this
Well now you changed the default language but when people create an account, their language will be set as default fr because it is written in the install files like that.
You can edit this before you install your files and then you simply open the file databaseinfos.php locate in Xnova/includes
search for fr and you'll find something like this
again change the fr in en like this
If your server is already installed, you will have to open phpmyadmin, go to the user table and edit the default in the collum lang from fr to en.
Greetz Aropop
If you like this press thank you!
did you have to same problem, you change the default language in common.php, but ingame you still see the frence, well here is a guide how to make your Xnova fully multi languaged. I'll explain with english.
first download the languagepack here
You must be registered to see links
Unzip the file and put it in the language folder.
Now open common.php wich is in your Xnova folder.
Scroll down and you'll see something like this.
PHP:
define('DEFAULT_SKINPATH' , 'skins/xnova/');
define('TEMPLATE_DIR' , 'templates/');
define('TEMPLATE_NAME' , 'OpenGame');
define('DEFAULT_LANG' , 'fr');
PHP:
define('DEFAULT_SKINPATH' , 'skins/xnova/');
define('TEMPLATE_DIR' , 'templates/');
define('TEMPLATE_NAME' , 'OpenGame');
define('DEFAULT_LANG' , 'en');
You can edit this before you install your files and then you simply open the file databaseinfos.php locate in Xnova/includes
search for fr and you'll find something like this
PHP:
$QryTableUsers .= "`lang` varchar(8) character set latin1 NOT NULL default 'fr', ";
PHP:
$QryTableUsers .= "`lang` varchar(8) character set latin1 NOT NULL default 'en', ";
Greetz Aropop
If you like this press thank you!