How to count words in php, should include all the codes?
Thread poster: Jenny Lu

Jenny Lu  Identity Verified
China
Local time: 11:15
English to Chinese
+ ...
Nov 7, 2005

Sure, it's not about technical issue at all, but a business concern. As we know, we only need to translate the part between "", but what about the other parts? should we include them as well in the word count?

If it is common practice to count all the words in the php file, what should we do when we come across a client who insists in not counting the "untranslated" parts?


Direct link Reply with quote
 

Andy Lemminger  Identity Verified
Canada
Local time: 20:15
Member (2002)
English to German
No code Nov 7, 2005

Hi Jenny,

I've never worked with any client who adds the code to the wordcount.
But I wouldn't be opposed to it

Andy
www.interlations.com


Direct link Reply with quote
 

Aliseo Japan  Identity Verified
Japan
Local time: 12:15
Member
Italian to Japanese
+ ...
Not needed to translate the code Nov 8, 2005

Jenny Lu wrote:

Sure, it's not about technical issue at all, but a business concern. As we know, we only need to translate the part between "", but what about the other parts? should we include them as well in the word count?

If it is common practice to count all the words in the php file, what should we do when we come across a client who insists in not counting the "untranslated" parts?


Hi Jenny,

As you said, it's not necessary to translate the code in PHP files, on the contrary you shouldn't touch it if you don't want to mess it up all. The only part that you might need to translate are the various messages to the user, if any, the comments introduced by the original programmer that are normally useful to those who will review/update the PHP file later on, and possibily update links to other pages.

As far as I know, there is no software available today that can automatically count the translatable part of PHP files. and therefore I would recommend to offer a forfait rate to your customer based on the time it will take to you to process *and test* all PHP files after they are uploaded to the server.

Kind regards

Mario Cerutti
http://www.aliseo.com

[Edited at 2005-11-08 06:17]

[Edited at 2005-11-08 06:17]


Direct link Reply with quote
 

Samuel Murray  Identity Verified
Netherlands
Local time: 04:15
Member (2006)
English to Afrikaans
+ ...
No charge for code, but higher rate for expertise Nov 8, 2005

Jenny Lu wrote:
If it is common practice to count all the words in the php file, what should we do when we come across a client who insists in not counting the "untranslated" parts?


The reason you charge per word is simply because it's an easy way to determine a "fair" rate for the job based on the size of the job. Therefore the word rate should include words which you must check and/or translate, but not all words if some words need no checking. You should know which words or codes should not be translated, and that should be reflected in your higher rate for this type of job, but it wouldn't be fair to either party if you were to charge for the codes as if they were part of the text.


Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

How to count words in php, should include all the codes?

Advanced search







Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use SDL Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search