So does this not violate the usage of BabelFish? I assumed they'd get
upsed if you send through requests for large chunks of translation.

Joshua Miller
[EMAIL PROTECTED]


-----Original Message-----
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 10, 2002 8:55 PM
To: CF-Talk
Subject: Re: Language Translation and CF


> Anyone have experience doing language translations with
> CF?

> I found an article about using BabelFish WebService and it works 
> great, but only supports 150 words (appx.) at a time. I wrote a
> script that
> will loop over my text and send 150 at a time, but I'm
> certain that
> that's not the "right" way to use their service. It also
> hoses HTML -
> actually translates the <a href into whatever language and
> puts spaces
> after all the < tags.

loop through your text using the next 150 characters or the next <
whichever comes first, then skip over any html tags ?

I know it's not ideal, but it's a thought.

Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to