Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Project U-232
Reply
  #1  
Old 1st February 2015, 00:53
mmgarcia30 mmgarcia30 is offline
Member
 
Join Date: Jan 2015
Spain
Posts: 10
Default Enabling translations in U-232-V4
Hi mates

I had made the same question a few days ago in http://forum-u-232.servebeer.com/ bt now seems to be dead.

I have copied /lang/1/ as /lang/4/ and I have began to translate the files inside.

I've also modified the file /take_lang.php

Code:
...
$out.= "<option value='1'" . ($CURUSER['language'] == '1' ? " selected='selected'" : "") . ">En</option>
        <option value='2'" . ($CURUSER['language'] == '2' ? " selected='selected'" : "") . ">Dk</option>
        <option value='3'" . ($CURUSER['language'] == '3' ? " selected='selected'" : "") . ">Rm</option>";
...
adding a fourth entry:

Code:
...
$out.= "<option value='1'" . ($CURUSER['language'] == '1' ? " selected='selected'" : "") . ">En</option>
        <option value='2'" . ($CURUSER['language'] == '2' ? " selected='selected'" : "") . ">Dk</option>
        <option value='3'" . ($CURUSER['language'] == '3' ? " selected='selected'" : "") . ">Rm</option>
        <option value='4'" . ($CURUSER['language'] == '4' ? " selected='selected'" : "") . ">Es</option>";
...
But I remember I need to edit one more file. But I can't remember which file.

Anybody knows wich file should I need to modify to enable the new language in the pop-up window?

Cheers
Reply With Quote
  #2  
Old 1st February 2015, 02:46
ArcticWolf ArcticWolf is offline
Senior Member
 
Join Date: Oct 2008
Posts: 41
Default
usercp.php too.
you should not have to do anything special other then make sure id number matches the line and dir :P
Reply With Quote
The Following User Says Thank You to ArcticWolf For This Useful Post:
mmgarcia30 (1st February 2015)
  #3  
Old 1st February 2015, 20:49
mmgarcia30 mmgarcia30 is offline
Member
 
Join Date: Jan 2015
Spain
Posts: 10
Default
Thank yo mate.
Reply With Quote
Reply

Tags
enabling , translations , u232v4

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 07:38. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.