Skip to main content

Google Translation Widget for Blogs & W3C Validation Rules

Translating your blog text can be a great way to attract more users from the world. If you have an internationally relevant blog, and you have traffic mainly from the English-speaking countries, then you definitely have to add a translation widget to your blog. And the best one available out there is definitely Google Translate.

W3C Valid Google Translate Code

The problem with Google translate code is that it doesn’t validate to W3C Consortium’s coding standards. So, it can induce some errors in your page, if you add it directly. Having a valid code definitely helps in terms of SEO. So, here I have edited the code to make it valid:

Copy and paste this code to your blog’s sidebar to have a W3C valid Google Translate widget:
<script src=http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&amp;up_source_language=en&amp;w=160&amp;h=60&amp;title=&amp;border=&amp;output=js></script>

Bookmark this page and always come back to get the code.

Placement of Translation Widget

It is always better to place the translation widget somewhere on the top of the page, perhaps nearer to your title as a small widget. My placement here on the sidebar is rather bad and inconspicuous. This widget, though doesn’t help your blog rank higher in other language search results, definitely helps the users from non-English-speaking countries.

As in all translation widgets, Google translate is not perfect. It’s just a machine that makes pure blunders in translation at times. However, it can convey the idea within your articles fairly well in other languages and help you get some international readers.

Copyright © Lenin Nair 2008

Comments

  1. Lenin, thanks for the tip! I put Google Translate on my blog using your code and I'm really pleased-though it obviously does make blunders it is WAY better than the translator I used to have(I'm a translator myself and I notice the difference), Babelfish,and unlike the latter it allows the blog to be translated in several languages. Great!

    For us professional bloggers (in my case my tarot blog is one of the pillars of my other professsion, tarot reader) your tips are invaluable. Keep up the good work!!

    ReplyDelete
  2. Hi Rozonda, thanks very much for the comment. It's quite some time since I have read such a passionate comment. Keep reading.

    ReplyDelete
  3. Glad I found your site. God bless you for posting the code to copy--so simple and the explanation for it is appreciated...

    ReplyDelete
  4. Vanessa, it's my pleasure. Thanks for the comment.

    ReplyDelete

Post a Comment

Comments are moderated very strictly

Popular posts from this blog

Power of Short Sentences

Post dedicated to Thomas Hardy (see History Today below). There are monster sentences like the one you encounter as the first paragraph of Oliver Twist by Charles Dickens . One of my friends, whom I am getting equipped for his IELTS ( what is this? ), told me that the examination recommends long sentences. In writing classes also, I guess it’s longer sentences most tutors promote. But indubitably shorter sentences are more powerful . We will see why. Take a long sentence for instance: Tom Cruise, one of the finest actors in the whole world, is perhaps the most powerful celebrity to exist ever according to Time Magazine, but many people still dispute this fact and point out that there are more powerful and popular actors than Cruise, though they were unsuccessful in providing the total number of fans, who liked the films of those actors. This is a long sentence and it is very confusing . Though it has a logical construction and conveys a meaning, it falters in many occasions and seems

Creative Writing: Crafting Characters With Emotional Appeal in Mind

When you read the greatest fiction works ever, have you ever asked what was so compelling about them that you not only kept reading it, but you ended up reading all other major works of the writer? It may well be because the writer touched your emotional quotient quite a bit. Every reader has a unique taste . Some like to read suspense thrillers , some tender love stories, and some others dark horror and bloodshed stories . That’s why there are all sorts of genres out there. When a writer gives you what exactly you want, you will keep reading. Here we come to the emotional appeal. Character Imperfection Perfect characters may not always be the upshot of a writer’s deliberation. It may well be due to ignorance . Usually the upcoming writers take it for granted that if they create perfect characters, they will be able to garner a bigger audience . It is not true. You have to ask yourself what a character would do in a particular situation. Perfect characters—perfect gunmen, perfect

Another Tiny List of Confusables

Earlier, you may remember we published a list of confusable words . Here we are again, with such a list of words. Abjure/Adjure: Abjure means "to formally renounce (give up) something" such as a position. Adjure on the other hand means 'to appeal to' or 'solemnly order'. The governor decided to abjure his position due to political pressure. Normally, adjuring to the subordinates doesn't give many results. Amount/Number: Use amount when you have uncountable subject. Use number when it is countable. The amount of love one gets depends on the number of friends one has. Appraise/Apprise: Appraise is the word applied to quantitative evaluation of something. Apprise means 'communicate' or 'inform'. Appraising diamonds is the work of an expert. Joe apprised me of the schedule of events. Attorney/Lawyer/Solicitor: These terms are highly misinterpreted and confused by many people. Let me clarify. In the US, an attorney is any member