aperhyul / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

json code error when using google translate #427

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Paste a link to one of the simile exhibit examples into google translate. 
e.g. using English to French filter: 
http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=
1&sl=en&tl=fr&u=http%3A%2F%2Fwww.simile-widgets.org%2Fexhibit%2Fexamples%2FCSAIL
-PIs%2FCSAIL-PIs.html

What is the expected output?

Expected output is the content translated into french.

What do you see instead?

(In firefox) I get the following error message in a pop up dialog. 
_______________________________________________________

The JSON data file
  http://www.simile-widgets.org/exhibit/examples/CSAIL-PIs/people.js
contains errors =

SyntaxError: syntax error

We will explain the error in details after this message.

========================================================

When brought to the simile babel validator page I get this message:

------------------------------
Your code has no syntax error.
==============================

What version of the product are you using? On what browser and what
operating system?

firefox
windows 7

Please provide any additional information below.

Original issue reported on code.google.com by geraghty...@gmail.com on 18 Feb 2011 at 11:01

GoogleCodeExporter commented 9 years ago
This is effectively asking to make Exhibit reliable when used inside another 
service that makes major changes to the page's contents.  I don't think this is 
the most reasonable path to acquiring a translation.  You could copy the 
Exhibit files and try to get a translation of the data and the page separately, 
then put the translations together.

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 10:06