Login  Register

Re: Instant Translation example app - no output

Posted by Alessandro Vernet on Jan 21, 2010; 3:49am
URL: https://discuss.orbeon.com/Instant-Translation-example-app-no-output-tp1018274p1042089.html

Good catch. Indeed the API changed. Unfortunately their new API
returns JSON instead of XML, which is harder to parse on the
server-side. For now, I implemented something which is not terribly
robust, but that seems to do the job. You'll get this change in the
next build. Thanks for reporting this!

For reference, the bug is:

http://forge.ow2.org/tracker/index.php?func=detail&aid=314647&group_id=168&atid=350207

Alex

On Wed, Jan 20, 2010 at 1:37 AM, jd1 <[hidden email]> wrote:

> Running the Instant Translation example on several different Windows platforms,
> using both Internet Explorer and Firefox with JavaScript enabled, I do not get
> output of translation into target language. I've had no output from Instant
> Translation either online or after deploying the Orbeon Forms 3.7.1 WAR from
> Apache Tomcat 6.0.20. The same problem occurs in the Google Suggest example.
>
> Google Translate has recently undergone changes in functionality (can toggle
> instant translation on/off) and appearance (result is in a large font and not
> in a visibly defined text area). Could this be the source of problem?
>
> I notice that Google Translate default URL is now http://translate.google.com/#
> instead of http://translate.google.com/translate_t?. I changed the
> translate.xpl file from http://translate.google.com/translate_t?text=  to
> http://translate.google.com/#=  but that did not help.
>
> Also, after Google Translate displays the translation result, the URL changes
> to e.g.,
> http://translate.google.com/#en|fr|Where%20is%20the%20church%20in%20this%20%20village%3F
>
> Please advise if these demos are working for you and other users. Thanks in
> advance for your help.
> JimD
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet