Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Project U-232
Reply
  #1  
Old 3rd December 2013, 10:59
t3st3r t3st3r is offline
Member
 
Join Date: Dec 2013
P2P
Posts: 4
Default Multilanguage support?
How to add multi language support in U-232 v3?
Is it possible?
Reply With Quote
  #2  
Old 3rd December 2013, 11:04
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
yes its possible...
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
The Following User Says Thank You to firefly007 For This Useful Post:
t3st3r (3rd December 2013)
  #3  
Old 3rd December 2013, 11:05
t3st3r t3st3r is offline
Member
 
Join Date: Dec 2013
P2P
Posts: 4
Default
Is there a tutorial or explanation of how it works?
Reply With Quote
  #4  
Old 3rd December 2013, 17:25
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Here is a simple example!



Code:
<?
$lang["index"] = "maison";
$lang["forum"] = "carreau";
$lang["faq"] = "faq";
$lang["logout"] = "déconnexion";


$menu ='<table border="0" cellpadding="5" cellspacing="0">
  <tr>
    <td><a href="/index.php">' . $lang["index"] . '</a></td>
    <td><a href="/forum.php">' . $lang["forum"] . '</a></td>
    <td><a href="/faq.php">' . $lang["faq"] . '</a></td>
    <td><a href="/logout.php">' . $lang["logout"] . '</a></td>
  </tr>
</table>';

echo $menu;
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #5  
Old 3rd December 2013, 17:46
t3st3r t3st3r is offline
Member
 
Join Date: Dec 2013
P2P
Posts: 4
Default
Thanks for that, but I need to be in 3 different languages​​, so that users can choose the language.
Reply With Quote
  #6  
Old 4th December 2013, 01:16
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
All the files that are in the lang/1 directory you need to copy these in to a new directory and you need to convert them in to whatever language you are want then repeat the whole process for every other language that your wanting.

Then in the usercp.php file find the below and add your other language options.

Code:
//==Language
    $HTMLOUT.= tr($lang['usercp_language'], "<select name='language'>
    <option value='1'".($CURUSER['language'] == '1' ? " selected='selected'" : "").">En</option>
    <option value='2'".($CURUSER['language'] == '2' ? " selected='selected'" : "").">Dk</option>
    </select>", $CURUSER['language']);
Reply With Quote
  #7  
Old 4th December 2013, 18:09
t3st3r t3st3r is offline
Member
 
Join Date: Dec 2013
P2P
Posts: 4
Default
Krypto, thank you very much!
Reply With Quote
Reply

Tags
multilanguage , support

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



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