ThreadsDev FusionBB Greeting Cards FusionBBDev.com Measurection.com VertexHost NASCAR Racing MouseFunFacts.com Myrtle Beach Info UBB.Threads Modifications threadsdev.net
FusionBB

Trans-D Tropin
Use Coupon Code '1004' to Save $20 Off Your Initial Order of Trans-D Tropin®
V6 Threads Development >> Archived Modifications

Pages: 1
caymuc
Enthusiast
*****

Reged: 01/17/01
Posts: 449
Hacks - general topic: Use of Language files
      #64321 - 01/10/03 03:44 AM

Hi,
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.

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.


One general suggestion for a standartization I want to to come up with: Language Files.
Standartization can be something very useful. Ther Hack-description standards are such a case and are helpful for us all.

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.
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.

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.)


--------------------
Carl

Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')


Post Extras: Print Post   Remind Me!   Notify Moderator  
GardenerModerator
Addict
*****

Reged: 05/11/99
Posts: 1953
Loc: Sweden, Uppsala
Re: Hacks - general topic: Use of Language files [Re: caymuc]
      #64323 - 01/10/03 04:00 AM

I agree an all accounts.

Language strings in all hacks would be very nice.

--------------------
Olle Johansson | My skills are for hire | Complete list of my mods



Post Extras: Print Post   Remind Me!   Notify Moderator  
Omegatron
Pooh-Bah
****

Reged: 03/07/02
Posts: 3173
Loc: Abingdon,Maryland
Re: Hacks - general topic: Use of Language files [Re: Gardener]
      #64330 - 01/10/03 05:07 AM

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



My abilities are for hire for installs, upgrades, custom themes and custom modifications.



Omegatron's Reefs





Post Extras: Print Post   Remind Me!   Notify Moderator  
Dalar
Member
*****

Reged: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
Re: Hacks - general topic: Use of Language files [Re: caymuc]
      #64346 - 01/10/03 08:11 AM

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



Post Extras: Print Post   Remind Me!   Notify Moderator  
caymuc
Enthusiast
*****

Reged: 01/17/01
Posts: 449
Re: Hacks - general topic: Use of Language files [Re: Dalar]
      #64353 - 01/10/03 09:11 AM

Quote:

It makes for some more complex hack-tracking though.



My strategy would be like this:
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.
Benefits:
*You can search sitewide for all occurrences of the hack, searching by its name, in case you want to delete or update it.
* If a page makes problem, search for HACK and you can identify the spots where the changes are and maybe the problems come from.
* 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.)

My 2 cents

--------------------
Carl

Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')


Post Extras: Print Post   Remind Me!   Notify Moderator  
MTO
Addict
****

Reged: 01/31/00
Posts: 1524
Loc: Burgos, Spain.
Re: Hacks - general topic: Use of Language files [Re: caymuc]
      #64368 - 01/10/03 10:21 AM

I agree. Updating language files and so on is very needed.
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?
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).
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.

What do you think?

--------------------
Mateo Byler

CruceDeCaminos.com


Post Extras: Print Post   Remind Me!   Notify Moderator  
JoshPetAdministrator
The artist formerly known as Mr. Bug
****

Reged: 11/29/01
Posts: 11414
Loc: Charlotte, NC
Re: Hacks - general topic: Use of Language files [Re: MTO]
      #64370 - 01/10/03 10:52 AM

Yeah, but you'd probably have to modify every script to included addon.php.... maybe that can be done in ubbt.inc.php.

Or you could simply add a hack section to the bottom of the generic.php file, and add them all there.

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.

I'll focus more on future hacks supporting language files.

--------------------
Josh - Joshua PettitWebsite - For Hire Coding work and Modifications

Feel Better, Look younger - www.BuyTransD.com
Use Coupon Code 1004 to Save $20 Off Your Initial Order of Trans-D Tropin


Post Extras: Print Post   Remind Me!   Notify Moderator  
Ian_W
Addict
****

Reged: 02/22/02
Posts: 1981
Loc: England
Re: Hacks - general topic: Use of Language files [Re: JoshPet]
      #64411 - 01/10/03 05:24 PM

Does this mean we will get British spellings rather than US

--------------------
Fans Focus - Focusing on Fans of Sport



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


Post Extras: Print Post   Remind Me!   Notify Moderator  
JoshPetAdministrator
The artist formerly known as Mr. Bug
****

Reged: 11/29/01
Posts: 11414
Loc: Charlotte, NC
Re: Hacks - general topic: Use of Language files [Re: Ian_W]
      #64428 - 01/10/03 08:53 PM

He he... if I do the spelling.... it's probably wrong anyway. LOL

--------------------
Josh - Joshua PettitWebsite - For Hire Coding work and Modifications

Feel Better, Look younger - www.BuyTransD.com
Use Coupon Code 1004 to Save $20 Off Your Initial Order of Trans-D Tropin


Post Extras: Print Post   Remind Me!   Notify Moderator  
dimopoulos
Kahuna
*****

Reged: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Re: Hacks - general topic: Use of Language files [Re: Ian_W]
      #64435 - 01/10/03 10:15 PM

Quote:

Does this mean we will get British spellings rather than US



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

Warm regards

Nikos

--------------------
Nikos


Post Extras: Print Post   Remind Me!   Notify Moderator  
Ian_W
Addict
****

Reged: 02/22/02
Posts: 1981
Loc: England
Re: Hacks - general topic: Use of Language files [Re: dimopoulos]
      #64463 - 01/11/03 09:26 AM

hmmmm

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. It is not just the missing 'u's - we use a rubbish bin , and not trash - we tick boxes not check them etc....

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.

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.

Okay patriotic moan over




--------------------
Fans Focus - Focusing on Fans of Sport



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


Post Extras: Print Post   Remind Me!   Notify Moderator  
Dalar
Member
*****

Reged: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
Re: Hacks - general topic: Use of Language files [Re: Ian_W]
      #64473 - 01/11/03 10:43 AM

then you have Canadian which is a combination of Brit & American



--------------------
Dalar

Legends of Tacendia



Post Extras: Print Post   Remind Me!   Notify Moderator  
dimopoulos
Kahuna
*****

Reged: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Re: Hacks - general topic: Use of Language files [Re: caymuc]
      #68428 - 02/11/03 12:06 PM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
Dalar
Member
*****

Reged: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
Re: Hacks - general topic: Use of Language files [Re: caymuc]
      #75112 - 04/09/03 02:50 AM

Actually, my current tracking method is to place

// |***

at the start of a hack

// ***|

at the end of one, and // *** for the one-liners or mid-line hacks.

it's easy to type *** in a find field, and I've never seen it used for anything else.

--------------------
Dalar

Legends of Tacendia



Post Extras: Print Post   Remind Me!   Notify Moderator  
lenny
Lurker
*

Reged: 07/08/05
Posts: 1
Re: Hacks - general topic: Use of Language files [Re: Gardener]
      #128720 - 07/16/05 12:43 PM



Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 28 anonymous users are browsing this forum.

Moderator:  Gardener, JoshPet 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 3383

Rate this topic

Jump to
 
Hot Topic
No posts have caught fire as of yet.

Developers for Hire
Are you looking for custom modifications? Upgrades? Installs?
We have developers who can help!
View Our Services Page for information.

Login
Enter your username and password to login. If you do not have a username you can register one HERE.
username:
password:

Send Password
Remember Me

Online
119 guests have been online with in the last 90 minutes.

ThreadsDev.com
Trans-D Tropin

Current Threads
No current threads found...

Modifications
Recently Added:
· View Private Messages v0.9.3
· Stop Guests from seeing "Who's Online." [6.5.5]
· User List Display Limited by Post Count 1.0
· Paginate PMs 1.0
· Today and Yesterday

Most Downloaded:
· Inline Images 3.1
· Quote Username 1.0
· Games Arcade Deluxe v1.8
· UbbThreads and Photopost Total Integration Version 4
· Tool Tip Body Preview 3.0

Highest Rated:
· Mass Threads Move for 6.3
· Update Last Posts 1.0
· Update B_Parent User 1.0
· Integrated Index Page (IIP) 5.3.1
· IIP SideBarPal 1.1

Recent Stylesheets:
· Mix-Colors_2-0_3D for UBBT v6.3 - 6.5
· Mix-Colors_2-0 for UBBT v6.3 - 6.5
· Dark-Grey_3-0 for UBBT v6.3 - 6.5
· Green-Orange_1-0 for UBBT v6.3 - 6.5
· ebay_1-0 for UBBT v6.3 - 6.5

Recent Template Mods:
· Postlist modification - line separates new topics and replies
· I need some help with my postlist.tmpl file
· Edit, reply, and quote buttons mod for Facelift 6.5
· Google Add Sense add on for Threads 6.5
· Article templates for Thread 6.5

Shout Box

Short Stats
New Members:
4 Last 24 hours
20 Last 7 days
107 Last 31 days

Boards:
11676 Total topics
73324 Total replies

Totals:
5728 Members
85000 Posts

Max Online:
814 Total
(06/01/06 09:46 AM)


Web Hosting Provided by
VertexHost Web Hosting

Content ©2003-2006 ThreadsDev.NET
Powered By UBB.threads™ 6.5.5

 .: IIP 5.5 by David Lozier ©2003 :. 
Distributed by ThreadsDev.net

Visit Our Sister Sites!
JoshuaPettit.com and ThreadsAddons.com
Web Hosting Provided by
VertexHost Web Hosting

Generated in 0.361 seconds in which 0.31 seconds were spent on a total of 26 queries. Zlib compression enabled.


Whiplash Claims - Gold Necklace - Whiplash - Jewellery