Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
Thread Tools
  #1  
Old 22nd January 2012, 13:23
romano1's Avatar
romano1 romano1 is offline
Senior Member
 
Join Date: Jan 2012
Portugal
Posts: 107
Default Language problem
Hello, i change the Language, below the theme changer, but nothing happens, it stays in English.
Reply With Quote
  #2  
Old 22nd January 2012, 18:17
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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);
}

__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
romano1 (22nd January 2012)
  #3  
Old 22nd January 2012, 20:45
romano1's Avatar
romano1 romano1 is offline
Senior Member
 
Join Date: Jan 2012
Portugal
Posts: 107
Default
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
Reply With Quote
  #4  
Old 22nd January 2012, 20:59
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
romano1 (22nd January 2012)
  #5  
Old 22nd January 2012, 21:48
romano1's Avatar
romano1 romano1 is offline
Senior Member
 
Join Date: Jan 2012
Portugal
Posts: 107
Default
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...
Reply With Quote
Reply

Tags
language , problem


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 08:51. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.