Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Yuna Scatari Edition (YSE)
Reply
  #1  
Old 10th March 2010, 11:28
oleg0303 oleg0303 is offline
Member
 
Join Date: Feb 2010
Italy
Posts: 1
Question functions.php language
hello to all...help me please with TBDev v2.0 Yuna Scatari Edition Pre

Is problem create a tracker with two languages

how to add to functions.php language code
PHP Code:
<? = $ tracker_lang 'here  know'];?>. $ tracker_lang [' here know ']. "
succeed in other pages but here goes...
example:
PHP Code:
pagerbottom "Results of $ $ count and $ rpp pages on each page. <br /> <br /> <table class=\"main\"> $ pager  $ pagerstr $ pager2 </ table> \ n"
and another example:
PHP Code:
pager "<td class=\"pager\"> Pages: </ td> <td  class=\"pagebr\"> </ td>"
and another one:

PHP Code:
print ( "<div align=\"right\"> <!--< font size = 1 class =  small> -> Comment added / Comment added:". $ row [  'added']. "GMT <! -- - </ font >--></ td> </ tr>  "
I tried:
PHP Code:
<? = $ tracker_lang 'here know'];?>
and so
PHP Code:
". $ tracker_lang [ 'here know']." 
but I will not understand why?

thanks in advance...
Reply With Quote
  #2  
Old 10th March 2010, 12:48
mat22 mat22 is offline
Senior Member
 
Join Date: Jun 2009
Latvia
Posts: 119
Default
Just write all menus and other stuff in your language file and upload to language directory your lang files.

Then edit all files you need with $tracker_lang['sometext'] and in mysql insert second language and you have two languages.
Reply With Quote
Reply

Tags
functionsphp , language

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
TS v5.4 Turkish Language xcore Template Shares 3 24th March 2012 14:22
File writing functions exists: !!! kurodo99 Yuna Scatari Edition (YSE) 2 11th March 2010 11:41
[FIX] Faulty vars in functions.php benjaminbih Free Torrent Source 0 26th December 2009 15:09
Change Language...(need Help) xviperx1989 Torrent Strike 0 18th September 2009 15:31
[TT & H-Tracker] LV Language wMan Mods & Themes 3 19th May 2009 12:46



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