[RC] Guest Language

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

[RC] Guest Language

Post by marcovo » Fri Mar 13, 2015 12:07 pm

Extension Name: Guest Language
Author: Marcovo

Extension Description: Adds a dropdown box in the forum header, enabling unregistered users (guests) to choose any of the installed languages
Extension Version: 1.0.0

Extension Based On: this and this extension request

Extension Development: https://github.com/marcovo/guestLanguage

Extension Download: https://github.com/marcovo/guestLanguage/releases
Last edited by marcovo on Wed Jul 08, 2015 3:58 pm, edited 4 times in total.


marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [ALPHA] Quick Language

Post by marcovo » Fri Mar 13, 2015 2:40 pm

Too bad that extension wasn't opted in the given topics... I wonder why the extension is not presented on this website though.
I guess I will continue this extension as it is actually much simpler (but lacks some functionality that alg5's extension does provide...). It consists of only 1 php-event and 1 template-event, providing minimal but effective functionality. Only some trivialities need to be worked away.
I do have to change the name of the extension though I think :P .


User avatar
aduh
Registered User
Posts: 208
Joined: Thu Jul 05, 2012 7:29 pm
Location: Poland
Name: Hans'
Contact:

Re: [ALPHA] Quick Language

Post by aduh » Sat Apr 25, 2015 5:24 pm

+1
Waiting for this!
2012 APOCALYPSE NNC
gaming community
http://www.nonameclan.pl/2012

schlabs
Registered User
Posts: 13
Joined: Mon Apr 13, 2015 12:56 pm

Re: [ALPHA] Quick Language

Post by schlabs » Tue Apr 28, 2015 12:51 pm

subscribed and waiting

marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [RC] Quick Language

Post by marcovo » Tue Jun 30, 2015 3:11 pm

The first post has been updated with the github repository. I will submit it to the customisation database shortly.

User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: [RC] Quick Language

Post by alhitary » Tue Jun 30, 2015 7:33 pm

marcovo wrote:The first post has been updated with the github repository. I will submit it to the customisation database shortly.
I installed and enabled the extension but nothing shown in the header.
What i missed ?


marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [RC] Quick Language

Post by marcovo » Wed Jul 01, 2015 6:47 am

The forum must at least have 2 languages installed for the box to appear. If only 1 language is installed, nothing will appear. Thanks for the translation, I will add it in the near future.

User avatar
OmkePom
Registered User
Posts: 205
Joined: Tue Jul 15, 2014 8:38 am
Name: IJsbrand Nijboer

Re: [RC] Quick Language

Post by OmkePom » Wed Jul 01, 2015 2:04 pm

So far, so good. Everything translate with button. But post stays in original language.

:geek:
You got Brains like a Peanut, OMG i insulted a Peanut!

marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [RC] Quick Language

Post by marcovo » Wed Jul 01, 2015 4:08 pm

Any translating apart from what's done now is beyond the scope of this extension. It is only meant as a very simple addition to provide this sometimes painfully missing feature. So sorry, but the translation of posts will have to be done by another extension ;) .


Just to emphasize how simple the code is:
If you dig into the code you will see it's less code then you'd expect, just because it heavily relies on existing functionality. There are only 129 lines of code, most of which is standard phpBB stuff. Not counting those lines, it would probably add up to about 20 lines of unique code. (11 lines in the listener, 9 lines in the template and 1 line language.)

User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: [RC] Quick Language

Post by alhitary » Wed Jul 01, 2015 9:46 pm

marcovo wrote:The forum must at least have 2 languages installed for the box to appear. If only 1 language is installed, nothing will appear. Thanks for the translation, I will add it in the near future.
I have 2 languages install and nothing is displayed in the header
Image
Image

marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [RC] Guest Language

Post by marcovo » Thu Jul 02, 2015 6:13 am

Ah; moreover, you need to be a guest for the box to show up. For registered users the built-in functionality doesn't work, so this extension does not work for them either. Probably I should rename the extension to 'Guest Language' :? .

EDIT 08-07: Just did that: https://github.com/marcovo/guestLanguage


Post Reply

Return to “Extensions in Development”