php forum
php mysql forum
php mysql smarty
 
Topic Options
#232440 - 01/10/03 03:44 AM Hacks - general topic: Use of Language files
caymuc Offline
Enthusiast

Registered: 01/17/01
Posts: 449

   Hacks - general topic: Use of Language files to Del.icio.us Add to del.icio.us
  Digg Hacks - general topic: Use of Language files Digg it
Hi,<br />first of all: thank you all so much for sharing your wonderful hacks with us. Yes, there are sometimes no comments at all to a hack and this could be found discouraging at first sight. (I also have hacks here that never got even a single response, or just what looks like complaints. But then I saw the Download rates and other indications and then it was allright.<br /><br />There is at least one big advantage: it keeps the threads clear for input that really adds to the hack (bug reports, suggestions) and I start appreciating that. - I myself also stopped writing the "yes I like it"-threads for that reason, although I am so extremely happy with many of them. So here comes my THANK YOU again to all of you.<br /><br /><br />One general suggestion for a standartization I want to to come up with: Language Files.<br />Standartization can be something very useful. Ther Hack-description standards are such a case and are helpful for us all.<br /><br />Language files are one of the coolest features of Threads, and was at least for me THE main reason to switch to Threads some years ago.<br />I wished that hacks would also use Language-Files more often. Only English forums may have the luxury to offer only one language. So all international forums have to add language hacks to the original hacks, to make them compatible. That is lots of extra work, and errors come quickly it the original hack got updated, which can be often sometimes. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />On the other hand I think it would be not so much extra work for a hack-writer to build Language code in right from the beginning. Many of us users would be very happy with this. (It would be fine, just to distribute the code for the English language file, translations should be no problem for the end user.)<br />
_________________________
Carl
Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')

Top
#232441 - 01/10/03 04:00 AM Re: Hacks - general topic: Use of Language files [Re: rodrigo1]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
I agree an all accounts.<br /><br />Language strings in all hacks would be very nice.
_________________________
/Gardener | Complete list of my mods

Top
#232442 - 01/10/03 05:07 AM Re: Hacks - general topic: Use of Language files [Re: c0bra]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Yes agree as well. I kinda got in the habit when I installed hacks that had English language strings to also translate into the others as well and add it there.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232443 - 01/10/03 08:11 AM Re: Hacks - general topic: Use of Language files [Re: rodrigo1]
Dalar Offline
Member

Registered: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
Language is something that my next wave over versions will probably have. We are trying to support English and French on our forums, and I've hacked our UBB.threads to pieces for our purposes compared to the stuff I've posted here, and thus my more custom work has slowly had language files added. It makes for some more complex hack-tracking though.
_________________________
Dalar
Legends of Tacendia
[]http://legendsoftacendia.com/forumimages/icons/troll.gif[/]

Top
#232444 - 01/10/03 09:11 AM Re: Hacks - general topic: Use of Language files [Re: beatdown]
caymuc Offline
Enthusiast

Registered: 01/17/01
Posts: 449
[]It makes for some more complex hack-tracking though. [/]<br />My strategy would be like this:<br />I add either a PHP-Comment or a html-comment ( for language files) to every place the hack adds something. Every comment has the word "HACK" and the Name of the hack.<br />Benefits:<br />*You can search sitewide for all occurrences of the hack, searching by its name, in case you want to delete or update it.<br />* If a page makes problem, search for HACK and you can identify the spots where the changes are and maybe the problems come from.<br />* It is easy to update Threads, because foreign pieces of code can be identified easily. (If I hack original Threads code out, I leave it in as comment, as well. So if the original code has some new elements, it is easy to compare and find out what has changed and what might be needed also for the hacked code.)<br /><br />My 2 cents
_________________________
Carl
Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')

Top
#232445 - 01/10/03 10:21 AM Re: Hacks - general topic: Use of Language files [Re: rodrigo1]
MTO Offline
Addict

Registered: 01/31/00
Posts: 1524
Loc: Burgos, Spain.
I agree. Updating language files and so on is very needed. <img src="/forum/images/graemlins/smile.gif" alt="" /><br />There are so many hacks around that updating language files for each hack can be much work... so I wonder... Would it be possible to come up with a standard "addon.php" language file for every language? <br />For example, in all pages UBBThreads would check for the language file in question (example "newpost.php") AND the addon.php just as it now does with "generic.php" (I believe).<br />This would mean that instead of having to mess with all language files you would only mess with "addon.php" and just add things there, resulting in less work.<br /><br />What do you think? <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Mateo Byler
CruceDeCaminos.com

Top
#232446 - 01/10/03 10:52 AM Re: Hacks - general topic: Use of Language files [Re: D_Wolfwood]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, but you'd probably have to modify every script to included addon.php.... maybe that can be done in ubbt.inc.php.<br /><br />Or you could simply add a hack section to the bottom of the generic.php file, and add them all there. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Some of my hacks I've been good and used language files. I only include the english of course, but if someone needed another language, they could translate. <br /><br />I'll focus more on future hacks supporting language files. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232447 - 01/10/03 05:24 PM Re: Hacks - general topic: Use of Language files [Re: Daine]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
Does this mean we will get British spellings rather than US <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#232448 - 01/10/03 08:53 PM Re: Hacks - general topic: Use of Language files [Re: Gorlum]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
He he... if I do the spelling.... it's probably wrong anyway. LOL
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232449 - 01/10/03 10:15 PM Re: Hacks - general topic: Use of Language files [Re: Gorlum]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
[]Does this mean we will get British spellings rather than US <img src="/forum/images/graemlins/wink.gif" alt="" /> [/]<br />Gosh! Please no! I have already a problem being Greek, raised in Greece, having learned American English and living in London where everyone takes the mickey out of me because I spell behavior and not behaviour... :P<br /><br />Warm regards<br /><br />Nikos
_________________________
Nikos

Top
#232450 - 01/11/03 09:26 AM Re: Hacks - general topic: Use of Language files [Re: Hal_dup2]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
hmmmm <img src="/forum/images/graemlins/frown.gif" alt="" /><br /><br />Why should we not have an English version - the French have their version, the Germans have their version - but we have to translate each dictionary to correct it. <img src="/forum/images/graemlins/crazy.gif" alt="" /> It is not just the missing 'u's - we use a rubbish bin , and not trash - we tick boxes not check them etc.... <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />It might seem minor - but then it is the same with the dates - currently there is no method for us to correct the dates on a viewer level - all the dates I view here are 'incorrect' to us 2/11/03 is the 2nd November.<br /><br />I can set it board wide - so any Americans visiting my board will see 11/2/03, which to them is wrong - but they ike us, should be able to adjust it in the display settings.<br /><br />Okay patriotic moan over <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br /><br />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#232451 - 01/11/03 10:43 AM Re: Hacks - general topic: Use of Language files [Re: Gorlum]
Dalar Offline
Member

Registered: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
then you have Canadian which is a combination of Brit & American <img src="/forum/images/graemlins/laugh.gif" alt="" /><br /><br />
_________________________
Dalar
Legends of Tacendia
[]http://legendsoftacendia.com/forumimages/icons/troll.gif[/]

Top
#232452 - 02/11/03 12:06 PM Re: Hacks - general topic: Use of Language files [Re: rodrigo1]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
On the subject that Carl mentions here, I would like to add that for those of you that have added the hellenic language files in your distributions and have installed alongside other modifications that use language files, please post a reminder in the relevant modification and I will attach the hellenic language strings.
_________________________
Nikos

Top
#232453 - 04/09/03 02:50 AM Re: Hacks - general topic: Use of Language files [Re: rodrigo1]
Dalar Offline
Member

Registered: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
Actually, my current tracking method is to place<br /><br />// |***<br /><br />at the start of a hack<br /><br />// ***|<br /><br />at the end of one, and // *** for the one-liners or mid-line hacks.<br /><br />it's easy to type *** in a find field, and I've never seen it used for anything else.
_________________________
Dalar
Legends of Tacendia
[]http://legendsoftacendia.com/forumimages/icons/troll.gif[/]

Top
#232454 - 07/16/05 12:43 PM Re: Hacks - general topic: Use of Language files [Re: c0bra]
lenny Offline
Junior Member

Registered: 07/05/05
Posts: 1
Loc: none
<img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" />
_________________________
lenny

Top


Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
blaaskaak 2
S7ARBVCK 2
Iann128 1
Claus1 1
M4D 1
Who's Online
2 Registered (AllenAyres, blaaskaak), 24 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
BeyondCompare v3.00
by AllenAyres
09/07/08 07:14 PM
[7.3.1] add search to showmembers page
by AllenAyres
09/07/08 07:13 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks