phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Editing lang variabels from the ACP

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.1/Ascreaus followed by 3.2/Arsia.

Editing lang variabels from the ACP

Postby uuiiuu » Wed May 16, 2012 6:08 pm

lots of system dont edit or use php files for their language, they use XML files inside the acp that u can upload, export and edit from the acp wich makes it a lot easier to translate the system\add-ons.
VBulletin uses it
Xenforo uses it

basicly thats the two i know, but im sure theres a lot more, its much easier and much better!
uuiiuu
Registered User
 
Posts: 9
Joined: Wed Feb 08, 2012 3:39 pm

Re: Editing lang variabels from the ACP

Postby imkingdavid » Wed May 16, 2012 6:58 pm

You can currently edit the language from the ACP. Go to ACP -> System -> Language Packs -> Click on the language. Scroll down and edit to your liking, and hit submit and upload. You will have to enter your ftp information, and it will automatically overwrite the file when you do so. Alternatively, you can either download the file, or just click submit and then find the file in the store directory and move it yourself, overwriting the original file.

Sure that's a little bit of work, but it's a little bit better of an interface for those who don't want to mess with the code itself.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.
User avatar
imkingdavid
Development Team
Development Team
 
Posts: 902
Joined: Thu Jul 30, 2009 12:06 pm

Re: Editing lang variabels from the ACP

Postby uuiiuu » Wed May 16, 2012 7:29 pm

haha my FAIL XD
well then you can lock it :)

By the way, how do i make my forum rtl instead of ltr?
uuiiuu
Registered User
 
Posts: 9
Joined: Wed Feb 08, 2012 3:39 pm

Re: Editing lang variabels from the ACP

Postby Rallix » Wed May 16, 2012 8:25 pm

I think the front page has an option in one of the side things for alignment hanged, but I'm not entirely sure
working on a phpBB wiki mod and looking for a partner, PM me if interested
(I'm looking for someone with lots of experience involving BBcode, MODX, and permissions construction)
Rallix
Registered User
 
Posts: 15
Joined: Wed May 16, 2012 1:48 am

Re: Editing lang variabels from the ACP

Postby DavidIQ » Thu May 17, 2012 12:47 am

uuiiuu wrote:By the way, how do i make my forum rtl instead of ltr?
The language packs themselves have this defined in them in the common.php language file:
Code: Select all
'DIRECTION' => 'rtl'
Image
User avatar
DavidIQ
MOD Team Leader
MOD Team Leader
 
Posts: 760
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth


Return to [3.x] Discussion

Who is online

Users browsing this forum: DavidIQ and 13 guests