|
#1
|
|||
|
|||
Multilanguage support?
How to add multi language support in U-232 v3?
Is it possible? |
#2
|
||||
|
||||
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 |
The Following User Says Thank You to firefly007 For This Useful Post: | ||
t3st3r (3rd December 2013)
|
#3
|
|||
|
|||
Is there a tutorial or explanation of how it works?
|
#4
|
||||
|
||||
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 |
#5
|
|||
|
|||
Thanks for that, but I need to be in 3 different languages, so that users can choose the language.
|
#6
|
|||
|
|||
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']); |
#7
|
|||
|
|||
Krypto, thank you very much!
|
Tags |
multilanguage , support |
|
|