phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Load default language before other languages?

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.

Re: Load default language before other languages?

Postby naderman » Sat May 12, 2012 6:25 pm

MartinTruckenbrodt wrote:Hello Nils,
I'm a MOD author and no co-developer. I don't advertise MODs. I advertise missing core features.
Perhaps MODs should been written like patches in future?

Bye Martin

So you're saying you'd rather people have to install a special MOD for this, than everyone being able to benefit from this?
www.naderman.de
Move your forum to Forumatic - we'll take care of maintenance & spam
User avatar
naderman
Development Team Leader
Development Team Leader
 
Posts: 1649
Joined: Sun Jan 11, 2004 2:11 am
Location: Karlsruhe, Germany

Re: Load default language before other languages?

Postby MartinTruckenbrodt » Sat May 12, 2012 6:45 pm

Hello Nils,
I will send you a german language PM next time. I think here it's too much off-topic to talk about these things.

Bye Martin
Advanced Block MOD 1.1.1 has been released! - Prevent spam on your phpBB3 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists! - My MODs
MartinTruckenbrodt
 
Posts: 171
Joined: Sun Jan 29, 2006 1:00 pm
Location: Germany

Re: Load default language before other languages?

Postby Erik Frèrejean » Tue May 22, 2012 10:22 am

callumacrae wrote:Contributions to the core aren't accepted as patches, so that wouldn't really achieve anything.

They are ;)
Available on .com
Support Toolkit developer
User avatar
Erik Frèrejean
Registered User
 
Posts: 207
Joined: Thu Oct 25, 2007 2:25 pm
Location: surfnet

Re: Load default language before other languages?

Postby MartinTruckenbrodt » Tue May 29, 2012 6:48 pm

Hello,
I have had a look to the code. I'm not good programmer but I think it looks good.

I have three further ideas:
  • Is it possible to do it with a merge thing insteat of the include thing? I think it's a good point for viewtopic.php?f=108&t=42939 .
  • What's the matter if English language pack is uninstalled? I think it should be possible to use the board default language insteat.
  • IMO it should be possible to enable and to disable this feature.

Bye Martin
Advanced Block MOD 1.1.1 has been released! - Prevent spam on your phpBB3 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists! - My MODs
MartinTruckenbrodt
 
Posts: 171
Joined: Sun Jan 29, 2006 1:00 pm
Location: Germany

Re: Load default language before other languages?

Postby MartinTruckenbrodt » Tue May 29, 2012 8:28 pm

Hello Nils,
I've modified your code for Olympus. It's running great! I can't see any performance problem.

You can test it on one of my dev boards: http://www.martin-truckenbrodt.com/cgi/ ... /index.php

The MOD in developement just is translated for en and de . In the language selction bar there are two new language variables which are not included in ./language/<your language pack>/common.php by default. This is the test! ;)

Bye Martin
Advanced Block MOD 1.1.1 has been released! - Prevent spam on your phpBB3 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists! - My MODs
MartinTruckenbrodt
 
Posts: 171
Joined: Sun Jan 29, 2006 1:00 pm
Location: Germany

Re: Load default language before other languages?

Postby MartinTruckenbrodt » Thu May 31, 2012 4:17 pm

Hello Nils,
your and my code seems not to be complete: http://www.phpbb.com/customise/db/mod/i ... anslation/

Bye Martin
Last edited by MartinTruckenbrodt on Sat Jun 16, 2012 12:28 am, edited 1 time in total.
Advanced Block MOD 1.1.1 has been released! - Prevent spam on your phpBB3 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists! - My MODs
MartinTruckenbrodt
 
Posts: 171
Joined: Sun Jan 29, 2006 1:00 pm
Location: Germany

Re: Load default language before other languages?

Postby MartinTruckenbrodt » Fri Jun 15, 2012 11:50 pm

Hello,
Olympus MOD for better multi language pack support including this feature is done: http://www.martin-truckenbrodt.com/cgi/ ... m.php?f=72

Bye Martin
Advanced Block MOD 1.1.1 has been released! - Prevent spam on your phpBB3 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists! - My MODs
MartinTruckenbrodt
 
Posts: 171
Joined: Sun Jan 29, 2006 1:00 pm
Location: Germany

Previous

Return to [3.x] Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 12 guests