It is estimated that there are around 78% websites are in English and remaining 22% are in other languages. Not every body can read and write English, so, they also need to get translate the website into their language. Translating into all languages is impossible but it is possible to translate website into major languages like French, Chinese, German, Spanish, Arabic, etc.
Google has a great translation widget as a drop down menu which you may have seen on many sites. Some other companies/people have also created translation widgets but not good like Google Translate Widget. What I do not like in Google Translate Widget is its drop down menu. In fact, it does not follow Accessibility rules. First of all, if one, who wanna read the website, can not read English, how the one will know that the widget is to translate the website into other languages. The other thing is drop down menu creates Accessibility problem in sense that you have to move scrollbar if your language is at the end of the menu. There are some others issues, too, but one thing I do not like personally is the written statement “Powered by Bla Bal” with every such widget, either from Google or other provider.
So, here is a code for widget which can translate your site into 23 languages. It is also powered by Google but there is no drop down menu. You will see 23 flags presenting different languages, e.g. Spanish flag for Spanish language translation, French flag for French language translation, etc. There is mine flag, too, but just indication if you wanna visit the provider. Click on the flag will translate the web page into particular language, the flag is used for.
You can see this widget in the most right panel of my blog. OK! here is the code.