Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   Multilanguage support? (http://www.bvlist.com/showthread.php?t=9659)

t3st3r 3rd December 2013 10:59

Multilanguage support?
 
How to add multi language support in U-232 v3?
Is it possible?

firefly007 3rd December 2013 11:04

yes its possible...

t3st3r 3rd December 2013 11:05

Is there a tutorial or explanation of how it works?

firefly007 3rd December 2013 17:25

Here is a simple example!



Code:


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


$menu ='
 
   
   
   
   
 
' . $lang["index"] . '' . $lang["forum"] . '' . $lang["faq"] . '' . $lang["logout"] . '
';

echo $menu;


t3st3r 3rd December 2013 17:46

Thanks for that, but I need to be in 3 different languages​​, so that users can choose the language.

Krypto 4th December 2013 01:16

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'], "", $CURUSER['language']);


t3st3r 4th December 2013 18:09

Krypto, thank you very much! :drink:


All times are GMT +2. The time now is 00:42.

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