Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Choose Language Extension
Hello!
Here is my first extension (or hack) for Vanilla. This extension will
teach your Vanilla multiple languages. So that users and visitors can
choose the interface language they want.
If you install this extension correctly, you will see a new section
containing a <select> box in the left column of Vanilla. By using
this select box you can choose the language of the forum interface
(it works with a cookie).
You can preview this addon in my forum:
- http://www.jonasjohn.de/forum/
Download:
- Download extension for Vanilla 0.9.x
- Download extension for Vanilla 1
- More Info. / My website
Please read the included Readme.txt before you start the installation.
A question to the admin's:
Should I add my extension here?
And should I include this notice (it does not apply in my case)?
I hope everything works!
Feedback is desired :-)
Here is my first extension (or hack) for Vanilla. This extension will
teach your Vanilla multiple languages. So that users and visitors can
choose the interface language they want.
If you install this extension correctly, you will see a new section
containing a <select> box in the left column of Vanilla. By using
this select box you can choose the language of the forum interface
(it works with a cookie).
You can preview this addon in my forum:
- http://www.jonasjohn.de/forum/
Download:
- Download extension for Vanilla 0.9.x
- Download extension for Vanilla 1
- More Info. / My website
Please read the included Readme.txt before you start the installation.
A question to the admin's:
Should I add my extension here?
And should I include this notice (it does not apply in my case)?
I hope everything works!
Feedback is desired :-)
0
This discussion has been closed.
Comments
You most certainly should add your extension to the directory, but i'm not sure what notice you're talking about?
Just a few suggestions if i may (i havent looked at the code, though):
1. Consider using an alternative to cookies to remember the language (i assume you already did - most extensions add stuff to the database where things need remembering but it strikes me your extension works with guests too where database addition isnt possible - the issue though is that some people wont allow cookies or whatnot)
2. Consider moving the selection to the accounts page (again i realise for guests this isnt possible - and some people may want to flip languages quite regularly if theyre not native to either and find it easiest to cross reference - but for some users having the select box on the panel all the time may get annoying)
Note that neither of these suggestions are criticisms, just ideas. Theyre both flawed aswell. I'm not sure why i bothered suggesting them since it seems you have it set up pretty much the best way. I suppose atleast theyre out there now, though.
Hi!
I'm glad you guys like the extension!
@Minisweeper
Yes, I had the same idea. But for now it was too complicated for me
to add the language settings to the database. And another point is that
peoples who disabled cookies, can't login to Vanilla, because the
Vanilla session works also with cookies ;-)
But I will try to implement your ideas in the next time.
@lech
Hmm, I don't know if I did understand you. I already included
Readme's (+Install instructions) into both extensions for Vanilla 0.9 and 1.0 ??
But I added the warning, as you suggested :-)
@Mark
Yep, okay - I will add both extensions to the reponsitory.
Thanks!
ah okay, now everything makes sense ;-)