So it sounds to me what you want is the page to be translated, but you
don't want the links rewritten to go to further translated pages?
Correct?

Unfortunately I don't know how to do that, but you might be able to
hack together some Javascript that after you page renders it goes
through and corrects the links.

Also, i'll point out that you could create links like:

<style>
  .fakelink {
    color:blue;
    text-decoration: underline;
  }
</style>
<span class=fakelink onclick="javascript:window.location='/
some_path'">click here</span>

And I'm pretty sure those won't get rewritten.

Best,
Josh

On Sep 15, 11:54 am, MikeG <[EMAIL PROTECTED]> wrote:
> I currently am trying to use the following code to translate a page
> from English into French when the User clicks a button, without having
> the Translate gadget showing:
>
> <a HREF="#" onClick="javascript:window.location='http://www.google.com/
> translate_c?hl=en&langpair=en%7Cfr&u=' + window.location.href;"
>
> >Fran&ccedil;ais</a>
>
> It works, but it "locks" the site into being translated, which is not
> what I want.  Once activated, the pages are all shown in French as the
> User navigates through the site.
>
> I want ONLY that one page, where the User has selected translation, to
> be translated, and if the User clicks any link to another page, then
> the Translator would stop, and show the new page in English. i.e. the
> User should select French on any one page, and ONLY that one page
> would be translated, and if clicking to anothr page, the translation
> would stop.  The User would then have to select translation on the new
> page to see the translation into French.
>
> Alternately, the User could hit an "English" button and have the
> translator stop on any page.
>
> Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to