[RFC] Extension to fall back to en lang

Discuss requests for comments/changes posted in the Issue Tracker for the development of phpBB. Upcoming releases are 3.2/Rhea and 3.3.
User avatar
RMcGirr83
Registered User
Posts: 357
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: [RFC] Extension to fall back to en lang

Post by RMcGirr83 » Fri Jan 23, 2015 11:52 am

MichaelC wrote:ISTs do have extensions and customisations posted on them and not all will have an English language pack, as might those on international 3rd party sites or developed by individuals/organisations for other usage.
True but they do have a default lang setup on the forum. Is it possible to add a default lang entry in composer? Will Symphony understand that?
Do not hire Christian Bullock he won't finish the job and will keep your money

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 297
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: [RFC] Extension to fall back to en lang

Post by Nicofuma » Fri Jan 23, 2015 2:11 pm

We should default to board lang and then english. Maybe we could add a default lang for the extension itself but it will be done in the ext.php file, not in the composer file. We shouldn't add too many things to this file which is unrelated to phpBB, I think that it shouldn't contain any data used only when the extension is enabled.
Member of the phpBB Development-Team
No Support via PM

leschek
Registered User
Posts: 161
Joined: Tue Aug 28, 2012 1:30 pm

Re: [RFC] Extension to fall back to en lang

Post by leschek » Fri Jan 23, 2015 3:59 pm

As non developer, but admin, I would like to be able to write "language queue". For example admin from Austria would be able to write de-at, de, de-x-sie, en and phpBB would look first for Austrian translation and then German (Casual Honorifics), German (Formal Honorifics) and English if it doesn't find it. The same happen with other languages. For example I as Czech would like to see first Czech (board default) translation, then Slovak, because it is similar language and last would be English translation.

User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: [RFC] Extension to fall back to en lang

Post by VSE » Fri Jan 23, 2015 5:28 pm

Everything language related falls back from the user's lang, to the board's default, then to "en". So these email templates and style files in extensions simply need to be included in this process, for consistent behavior.
Has an irascible disposition.

User avatar
brunoais
Registered User
Posts: 958
Joined: Fri Dec 18, 2009 3:55 pm

Re: [RFC] Extension to fall back to en lang

Post by brunoais » Sat Jan 24, 2015 10:04 am

^ agreed.

tct
Registered User
Posts: 15
Joined: Wed Aug 25, 2010 10:00 am

Re: [RFC] Extension to fall back to en lang

Post by tct » Sun Jan 25, 2015 1:11 am

+1
I'm Vietnamese so I'm not good in speaking English!!!

User avatar
MichaelC
Development Team
Development Team
Posts: 889
Joined: Thu Jan 28, 2010 6:29 pm

Re: [RFC] Extension to fall back to en lang

Post by MichaelC » Mon Jan 26, 2015 12:48 am

RMcGirr83 wrote:
MichaelC wrote:ISTs do have extensions and customisations posted on them and not all will have an English language pack, as might those on international 3rd party sites or developed by individuals/organisations for other usage.
True but they do have a default lang setup on the forum. Is it possible to add a default lang entry in composer? Will Symphony understand that?
Yes, you can put it in extra although Tristan is correct and using ext.php for this might be more appropriate (Perhaps setting a class constant or a method to return a string for the language).
Nicofuma wrote:We should default to board lang and then english. Maybe we could add a default lang for the extension itself but it will be done in the ext.php file, not in the composer file. We shouldn't add too many things to this file which is unrelated to phpBB, I think that it shouldn't contain any data used only when the extension is enabled.
Formerly known as Unknown Bliss
psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
No unsolicited PMs please except for quotes.

User avatar
RMcGirr83
Registered User
Posts: 357
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: [RFC] Extension to fall back to en lang

Post by RMcGirr83 » Tue Mar 17, 2015 5:43 pm

Lapsed on this one. Ticket need to be created I take it?
Do not hire Christian Bullock he won't finish the job and will keep your money

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 297
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: [RFC] Extension to fall back to en lang

Post by Nicofuma » Tue Mar 17, 2015 10:11 pm

Yes please
Member of the phpBB Development-Team
No Support via PM

User avatar
RMcGirr83
Registered User
Posts: 357
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: [RFC] Extension to fall back to en lang

Post by RMcGirr83 » Wed Mar 18, 2015 9:39 am

Do not hire Christian Bullock he won't finish the job and will keep your money

Post Reply