Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Yuna Scatari Edition (YSE) (http://www.bvlist.com/forumdisplay.php?f=22)
-   -   functions.php language (http://www.bvlist.com/showthread.php?t=4651)

oleg0303 10th March 2010 11:28

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.   <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...

mat22 10th March 2010 12:48

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.


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

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