Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Language problem (http://www.bvlist.com/showthread.php?t=7517)

romano1 22nd January 2012 13:23

Language problem
 
Hello, i change the Language, below the theme changer, but nothing happens, it stays in English.:sos:

joeroberts 22nd January 2012 18:17

in include/config.php find
PHP Code:

if (isset($theme_change)){
$bttheme $theme_change;
if (
$bttheme != "" AND is_dir("themes/".$bttheme) AND $bttheme != "CVS") {
setcookie("bttheme",$bttheme,$session_time,$cookiepath,$cookiedomain,0);
unset(
$_POST);
}


and add after
PHP Code:

if(isset($language_change)){
$btlanguage $language_change;
if (
$btlanguage != "" AND is_readable("language/".$btlanguage.".php") AND $btlanguage != "CVS") {
setcookie("btlanguage",$btlanguage,(time() + 31536000),$cookiepath,$cookiedomain,0);
unset(
$_POST);
}



romano1 22nd January 2012 20:45

I did it but it shows me weird names: _btshoutbox
maybe becaouse my sql extencion is _?


_btindex_total24 5
_btindex_register7 6
_btindex_register24 2
_btindex_totalregister 11
_btindex_totaltorrents 6
_btindex_totalshare 3.46 GB
_btindex_totalpeers 9
_btindex_speed 10.54


and btw, there is not a brasilian language, only Portuguese :) , Brasil speack Portuguese not Brasilian

joeroberts 22nd January 2012 20:59

when you see things like
Quote:

_btindex_total24
_btindex_register7
_btindex_register24
_btindex_totalregister
_btindex_totaltorrents
_btindex_totalshare
_btindex_totalpeers
_btindex_speed
it meens it is not defind in the language file.

romano1 22nd January 2012 21:48

I will translate as the Portuguese version is missing half of them.

the help.php file needs to be in the Language folder? as it shows on the language selector...


All times are GMT +2. The time now is 01:10.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.