to do that kind of integration with a third party, do it once when the
info is submitted and store multiple copies (one per language) in the
database, rather than translating on the fly, or you'll bring your
servers to a halt.
For the existing content, just write up a batch script that'll
translate everything automatically one night while the server is
[mostly] dormant, and you'll be set.
cheers,
barneyb
On Thu, 29 Jul 2004 16:14:27 -0400, Joe Bernard <[EMAIL PROTECTED]> wrote:
> I am trying to find a method of reading directly from the output stream of a cf file. Let me explain:
>
> I'm writing an extension to our website to publish it into multiple languages. This is a dynamic site with content often provided by users.
>
> The solution we came up with was this:
>
> read the contents of the output buffer in the onRequestEnd.cfm and write it to a file somewhere on the webroot...
> call a translation service with cfhttp and point it to that file I just created...
> this cfhttp call will return a translated version of that page in the filecontent variable...
> reset the content of the page: <cfcontent reset=true>
> output the translated code.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

