php - Best SEO method to translate a website page with google translate -


Therefore, a lot of content on our site should be in one language or another. Since we are web professionals we have spent time learning how we were learning instead of human languages ​​ - computer languages ​​. That's why we need some kind of way to translate our content.

Google offers one () and therefore I have full faith in their vast empire that they (or soon) will make the best translation service, keeping in mind what is the best way to use it ? We can just be lazy and use small widgets that they provide - but we will lose all content and SEO juice because Google rewrites the link "translate.googleusercontent.com?translate = ..." .

So my question is - How can we use this service while maintaining translated content on our site?

One way is to when to use it to load the inline of the material. But since it is powered by JS () - the search engine will not take advantage of it.

Another way is to use a server-side language (such as PHP) from Google's Translated Page but I'm not sure that this is 100% legal.

Finally, I was thinking about using the mod_rewrite to fetch the page. But again, I do not think this will benefit our site.

  RewriteRule ^ (. *) - fr $ http://www.google.com/translate_c?hl=fr&sl = N & amp; U = http: //site.com/$1 [R, NC] revised rule ^ (. *) - $ $ http://www.google.com/translate_c?hl=de&sl=en&u= Http: //site.com/$1 [R, NC] revised rule ^ (. *) - es $ http://www.google.com/translate_c?hl=es&sl=en&u=http://site Com / $ 1 [R, NC] Revised Rule ^ (. *) - this $ http://www.google.com/translate_c?hl=it&sl=en&u=http://site.com/$1 [R, NC]  

Whatever you have to do, link can be added to your page with the "-fr" variable which is in the link of URL and your link set Please.

  // View the file & lt; A href = "& lt ;? php print $ uri_string ;;> -de" & gt; German & lt; / A & gt;  

Do anyone have any ideas on this?

: Edit:

After reading Google's texts, it seems that

allows your end users or other third parties to own your property or Google will not allow results to be included as primary content on any page of your property; Submit any request over 5000 characters long;

I think that as you can not use Google to translate the main content - with PHP or AJAX - if that content is the main post now How does it work? Why do you make a translation API and then do not allow it to be used on main page content?

OK, you should read the ELA, Google does not want you to do it Use the same way.

Not to mention that Google Translate can be cured in entire Indian-European languages, but right now, translation for other families of languages ​​is actually a suck, and generates strange, meaningless text (like my My language, Hungarian) a nightmare for Google) I do not think it will move to at least usable levels in the near future.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -