Google translate element

1,282 views
Skip to first unread message

Jenny

unread,
Feb 8, 2011, 1:51:07 PM2/8/11
to Google AJAX APIs
I have my page in Spanish, which links to an external URL which has
the Google Translate element (the site is in English). Is there a
parameter I can add to the link so that the default language is
Spanish?

I appreciate the help

Jenny

Adam Feldman

unread,
Feb 8, 2011, 2:37:53 PM2/8/11
to google-ajax...@googlegroups.com
Hi Jenny,

There's no way to set the default language for the Translate element.  Instead, it will automatically offer to translate the content into the language of the visitor (based on their browser settings).

Thanks,
Adam


--
You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group.
To post to this group, send email to google-ajax...@googlegroups.com.
To unsubscribe from this group, send email to google-ajax-searc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.


fy

unread,
Feb 9, 2011, 10:18:12 AM2/9/11
to Google AJAX APIs
Hi. How about target parameter?
http://code.google.com/intl/es-ES/apis/language/translate/v2/using_rest.html#WorkingResults

On 8 feb, 16:37, Adam Feldman <adam.feld...@google.com> wrote:
> Hi Jenny,
>
> There's no way to set the default language for the Translate element.
>  Instead, it will automatically offer to translate the content into the
> language of the visitor (based on their browser settings).
>
> Thanks,
> Adam
>

fy

unread,
Feb 9, 2011, 11:14:51 AM2/9/11
to Google AJAX APIs
Ops, sorry Jenny, the other site have th Translate element, you can't
aadd target on these site, of course.
May be you can use some HTML, like
<a href="http://translate.google.com/translate?u=http://
URL_SITE&langpair=en|es
&hl=es&amp;amp;amp;amp;amp;amp;ie=UTF-8&oe=UTF-8&prev=
%2Flanguage_tools">Link</a>

but the visitor will see 2 Translate elements.

On 9 feb, 12:18, fy <juliomo...@gmail.com> wrote:
> Hi. How about target parameter?http://code.google.com/intl/es-ES/apis/language/translate/v2/using_re...
Reply all
Reply to author
Forward
0 new messages