Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Discussions > General > Translate breaks my utilities (links and iframes)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris Myles  
View profile  
 More options Nov 12, 3:43 pm
From: Chris Myles
Date: Thu, 12 Nov 2009 12:43:52 -0800 (PST)
Local: Thurs, Nov 12 2009 3:43 pm
Subject: Translate breaks my utilities (links and iframes)
How do I prevent Translate from converting my LINKS to a translate
url?

My utilities use URL Parameters to dynamically configure themselves.
If I add class="notranslate" it doesn't translate the anchor text but
it DOES convert the href!!

I have also tried adding the <meta name="google" value="notranslate">
but that just keeps my pages from loading.

My utilities are designed to be used as standalone pages and embedded
via iframes.. they are mostly map and photos so there isn't much to
translate!!

Basically I want to be able to add a meta tag that forces Translate to
treat my utility page normally when used as Iframe. I have a case
where I breakout but that doesn't work because I still end up with the
http://translate.google.com/translate breakout (and It's parameters).
Why doesn't Translate just reference the original (un-modified url)
when it encounters the meta tag?

I also need to know what I can add to my links so that the href ALSO
doesn't get modified. Sometimes I use DOM scripting to convert some
links to a dynamic popup (iframe) which gets completely broken by
Translate (url parameters change).

I have clients who would love to use Translate.. but I don't know how
to fix/prevent these most likely common issues!!


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Myles  
View profile  
 More options Nov 12, 4:09 pm
From: Chris Myles
Date: Thu, 12 Nov 2009 13:09:29 -0800 (PST)
Local: Thurs, Nov 12 2009 4:09 pm
Subject: Re: Translate breaks my utilities (links and iframes)

FYI The Translate changes also break Google API keys (the referrer is
no longer valid) and Google Friend Connect  "We're sorry... This
gadget is configured incorrectly. Webmaster hint: Please ensure that
"Friend Connect Settings - Home URL" matches the URL of this site."

It would also be VERY helpful if the "view original" button actually
opened the ORIGINAL source in the iframe below instead of a translated
(and broken) version. This would also allow users to quickly see
advanced non-translatable features!!

Anyone have any hints on how I can get parameterized URLs to work (as
Iframes and links)?

On Nov 12, 3:43 pm, Chris Myles wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Google  
View profile  
 More options Nov 18, 5:28 pm
From: Google
Date: Wed, 18 Nov 2009 14:28:52 -0800 (PST)
Local: Wed, Nov 18 2009 5:28 pm
Subject: Re: Translate breaks my utilities (links and iframes)
Hi Chris,

If you could point me to the page you're having trouble with that
would help us look into it.

Thanks!
Josh

On Nov 12, 1:09 pm, Chris Myles wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Google  
View profile  
 More options Nov 18, 5:34 pm
From: Google
Date: Wed, 18 Nov 2009 14:34:28 -0800 (PST)
Local: Wed, Nov 18 2009 5:34 pm
Subject: Re: Translate breaks my utilities (links and iframes)
Saw your blog in the other post... http://svbillabong.blogspot.com/

Unfortunately some things, like the Friend Connect gadget, use the URL
the gadget is rendered on as part of its configuration.  When you
translate your webpage using our normal proxied web translation, the
page is now rendered from our servers, so those things can't match.

I'll look into if there is something we can do with the Friend Connect
team to fix this, but it may be difficult.

Another thing you can consider, is using our Web Translator that you
can add to your page.  It is available here:  http://translate.google.com/translate_tools
It uses Javascript to translate everything inline, which won't break
the things already on your page.

Best,
Josh

On Nov 18, 2:28 pm, Google wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Myles  
View profile  
 More options Nov 19, 6:46 am
From: Chris Myles
Date: Thu, 19 Nov 2009 03:46:10 -0800 (PST)
Local: Thurs, Nov 19 2009 6:46 am
Subject: Re: Translate breaks my utilities (links and iframes)
Josh,

Thanks for tracking this thread down. I will play will inline
translation, but I also need the proxied translation for sites that
don't allow javascript (like posterous).

I'm not Really that concerned about the Friend connect gadget (and I
understand the server issues).. especially if the "view original"
showed the original page. I am concerned about my inability to control
what happens to the iframes and links WRT URL parameters.

The addition of the http://translate.googleusercontent.com/translate_c?
to ALL iframe src and anchor href's hides my Parameters

?hl=en&sl=en&tl=es&u=http://www.creative-cruising.com/blurbbits/
blurbbits.html%3Fpicasa%3DSailBillabong:BillabongWrapUp%26width
%3D500%26height%3D500%26llz%3D36.2934,30.1499,16%26mi
%3Din&rurl=translate.google.com&twu=1

Sure I could re-write everything, but there has to be an easier way!!

I want to prevent translate URL expansion on these links.. Is that
possible? Ultimately I want translate to see the notranslate meta
token and just leave the code alone, I *think* that would work AND it
would certainly be the easiest most general solution.

The interactive map links at the top of the blog no longer work

In my case the referrer URL shouldn't make a difference, because I had
to wrap everything in iframes to make in non-referrer dependent (for
general Blogger use).

Thanks again for your time..


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
loupiote  
View profile  
 More options Nov 19, 8:04 am
From: loupiote
Date: Thu, 19 Nov 2009 05:04:09 -0800 (PST)
Local: Thurs, Nov 19 2009 8:04 am
Subject: Re: Translate breaks my utilities (links and iframes)
Josh,

can you also work with the google adsense team?

when a page is translated with the Web Translator gadget (i.e. in-
document translation, with no reload of the page), if the page
contains adsense ads, it would be extremely useful (and profitable to
google as well as to publishers) if the ads were well targeted to the
translated content, and displayed in the target language of the
translator.

i know that the way adsense works with now (with their "Mediapartner-
Google" crawler) is quite incompatible with the way the google
translating tools are working. but i hope you guys can somehow make
sure that adsense knows what you are doing and that you can help them
to implement a good solution for on-the-fly web translations with
google translator.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Google  
View profile  
 More options Nov 19, 5:54 pm
From: Google
Date: Thu, 19 Nov 2009 14:54:16 -0800 (PST)
Local: Thurs, Nov 19 2009 5:54 pm
Subject: Re: Translate breaks my utilities (links and iframes)
Hi guys,

Chris, unfortunately we don't currently have a way for you to tell us
not to rewrite a link. I'll have a look into it though, and maybe we
can do something. In the meantime, you may be able to do some
Javascript trickery to trick us not into rewriting it... like:

<a href="#" id=dontrewrite>Link text</a>
<script>document.getElementById('dontrewrite').href =
"www.someotherpage.com";</script>

This is kind of gross hackery, but I believe something like it might
work for you.

Lou, I'll have a look into adsense as well.

Best,
Josh

On Nov 19, 5:04 am, loupiote wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Myles  
View profile  
 More options Nov 20, 11:52 am
From: Chris Myles
Date: Fri, 20 Nov 2009 08:52:51 -0800 (PST)
Local: Fri, Nov 20 2009 11:52 am
Subject: Re: Translate breaks my utilities (links and iframes)
Thanks Josh..

That will work for Blogger but not posterous (doesn't allow JS).

I can't imagine that others don't (or won't) have the same need. Plus
I think only the linked program will know if URL parameters really
matter. Most Bloggers just add stuff and have no idea how it works. I
wouldn't want them to have to tag every link just to skip
translation.. especially if the html at the link can tell you
notranslate!!

Thanks again

Chris

On Nov 19, 5:54 pm, Google wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Myles  
View profile  
 More options Nov 25, 8:55 am
From: Chris Myles
Date: Wed, 25 Nov 2009 05:55:25 -0800 (PST)
Local: Wed, Nov 25 2009 8:55 am
Subject: Re: Translate breaks my utilities (links and iframes)
It also breaks google map embeds (and any URL parametrized links/
iframes)

http://translate.google.com/translate?hl=en&sl=de&tl=en&u=http%3A%2F%...

On Nov 20, 11:52 am, Chris Myles wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google