Let me respond to your options as you presented them.

Option 1:
Yes, you can translate on the run. And yes, you will see a little bit  
of additional lag as the site loads and then goes off to translate the  
relevant sections. But there are ways to at least mitigate the  
problems with search engine placement.

Option 2:
While you can absolutely store the translations in your database (and  
if you were trying to make a multi-lingual site, this would probably  
be the better solution), the TOS for the API prohibit you from keeping  
that cache longer than 15 days. So you will have to go back and re-run  
your translations every two weeks. That adds for a little additional  
overhead, but it can be done.

My advice to you would depend very much on your site. If you are  
wanting to have a seamless, multi-lingual site, build a server-side  
script that will cache the translations in your database as it loads  
the content. Look in the documentation for details on using the  
Language API in Flash and Other Non-Javascript Environments, linked  
below:

http://code.google.com/apis/ajaxlanguage/documentation/index.html#fonje
http://code.google.com/apis/ajaxlanguage/documentation/reference.html#_intro_fonje



Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
[email protected]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!

And check out my blog, Adventures in Web Development, at 
http://jgeerdes.blogspot.com 
  !


On Aug 24, 2009, at 4:40 PM, traxion wrote:

>
> Hey all,
>
> Last week is was looking around on what cool stuff google had in AJAX
> api playground, there i founded a API to translate text.
>
> Now I've got a little dilemma about what to do. I've got a Dutch
> website, where i want to add an English part. Now there for are 2
> options in my way.
>
> option 1:
> I can translate on the run, so every time the page is viewed, i let
> google translate some text.
> The problem is that I'm afraid that the site will become slower (and
> more data is loaded) and that the SEO of the site becomes negative
> because all texts are translate
>
> option 2
> In order of not becoming a google needed website, i'm thinking about
> saving the translating into mine database (mysql). This way i can
> always tweak the text by hand
>
> Oke, i need google for the translation, but if google goes down for 1
> hour, mine site can run true normally. But a bigger problem is that i
> cant save the translations of google on the server, as google
> translate true javascript ( so mine server wil never now about the
> translation, only the client )
>
> What do you advice me to do?
> Are mine ideas good, or am i missing a 3rd option?
>
> Already thnx for the replay
> Traxion
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-ajax-search-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to