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!!
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)?
> 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 thehttp://translate.google.com/translatebreakout (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!!
> 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:
> > 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 thehttp://translate.google.com/translatebreakout(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!!
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.
> 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:
> > 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:
> > > 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 thehttp://translate.google.com/translatebreakout(andIt'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!!
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.
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).
> 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:
> > 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:
> > > 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:
> > > > 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 thehttp://translate.google.com/translatebreakout(andIt'sparameters).
> > > > 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!!
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.
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:
> 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.
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!!
> 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:
> 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:
> > 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.
> 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:
> > 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:
> > 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:
> > > 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.