Update: I have tried to replicate the security page issue since the
original post and have been unable to. Hopefully it was a temporary
thing.
As I have over 200 pages to translate, I came up with this simple
JavaScript that saves a lot of time. The code itself works well but as
I am still testing it under conditions and browsers, there are no
guarantees. It is based upon the query string created by Google.
code to place in head or included script---------------------------
<script type="text/javascript">
function translateSp() // script to include in pages to use Google's
translation tool
{
var tURL;
tURL = "<a href = 'http://translate.google.com/translate?u=";
tURL += location.href;
tURL += "&hl=en&ie=UTF-8&sl=en&tl=es'>Español</a>";// translates
english to spanish
document.write(tURL);
}
</script>
Code to place in page calling function--------------------------
<script type="text/javascript">
<!--
translateSp()
//-->
</script>
Good Luck.
On Aug 28, 3:31 pm, dph <[EMAIL PROTECTED]> wrote:
> It's the page that says, (and I'm paraphrasing) 'Your request looks
> like spam..." After a few paragraphs of explanation, it asks you to
> enter the random security code that is displayed in the box. I'm
> guessing that google is suspicous about the query string that calls
> the translated page.
>
> On Aug 28, 1:58 pm, Josh <[EMAIL PROTECTED]> wrote:
>
>
>
> > Which anti-spam page are you referring to? A user who has never used
> > Google before shouldn't automatically get any such error page.
>
> > On Aug 28, 11:43 am, dph <[EMAIL PROTECTED]> wrote:
>
> > > Good suggestion. It works fine.
> > > However, a new issue has come up. If a visitor clicks on the link and
> > > has not visited Google before, the anti spam page displays. Of course
> > > it is not in the translated language. I would guess there is no way to
> > > avoid this prompt? Is there any way for the page to display in the
> > > 'target' language?
>
> > > Thanks.
>
> > > On Aug 28, 12:34 pm, Josh <[EMAIL PROTECTED]> wrote:
>
> > > > If you translate your page at translate.google.com, and copy the URL
> > > > for each language pair you want, you should be able to make links out
> > > > of those URLs.
>
> > > > Best,
> > > > Josh
>
> > > > On Aug 28, 9:56 am, dph <[EMAIL PROTECTED]> wrote:
>
> > > > > I would like to set up translation links to target specific visitors.
> > > > > I would rather not clutter the page with a drop down with all the
> > > > > languages listed, just three specific languages.
> > > > > Is there a way to limit the choices in the drop down or perhaps create
> > > > > three seperate hard links for specific language translations?- Hide
> > > > > quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Translate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-translate?hl=en
-~----------~----~----~----~------~----~------~--~---