How to add my language translator into Google Language Translator Gadget (JavaScript)
>> Thursday, January 14, 2010
In previous posts we've discussed How to install Google Language Translator. In this post, we will discuss How to add a language translator into Google Language Translator.
To add a translation into another language (other than those already there), First we should have a country flag icon in accordance with the laguage to be added..So that our blog visitors can easily choose according to the desired language.
You can easily find the flag icon in internet and download it, just enter the keyword "download icon flag" into Google search box and you'll find so many sites that provide free flag icons.
After finish downloading, you should keep it on the server which can be accessed later. There are so many sites offering free hosting for storing our files, You can learn about it in Using Google Groups and Google Sites as web storage.
The next step, we will learn a Google Language Translation JavaScript Codes. Well, please look at the JavaScript below that I copy from " How to install Google Language Translator." the last paragraph before </form>
<input onclick="this.form.langpair.value=this.value" title="Español/Spanish" value="en|es" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/998398/gse_multipart12407.png" width="30" name="langpair"/>
Español/Spanish ..... This title will apear when we put our mouse cursor above the Flag Icon.
en|es ..... This script is meant to translate command from English to Espanol /Spanish (country code)
20 ..... Height of the Flag Icon
30 ..... Weight of the Flag Icon.
http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/998398/gse_multipart12407.png ..... Flag Icon Image address
So if you want to add a new translater into Google Language Translator (Indonesia for Example):
1. Log in to Blogger .
2. On your Dashboard, select the Layout menu, and click the Page Element.
3. Click Edit link your Google Language Translator Gadget.
4. Copy the last paragraph of your JavaScipt before </form> and paste right after it.
5. Replace Español/Spanish with Indonesian/Indonesia, en|es with en|id and http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/998398/gse_multipart12407.png with Indonesian's flag icon image address that we've stored before. In this case I change the image addres with http://sites.google.com/site/blogforstorage/blog-for-us-f/id.png
6. If you feel your image flags are to small or to large, you can set it by changing the value of 20 and 30.
7. Don't forget to Save it...
You can find / get the "(english) country code" and "icon flags" of all countries in the world in http://doit2us.blogspot.com/2010/01/lists-of-english-country-names-and-code.html
51 comments:
I appreciate your blog and very informative with how to use a gadget on our blog by java scrip provided by the google.
thanks !! very helpful post!
JavaScript is a good program and very easy to use. I don´t like a complex program. I prefer javascript because i consider it like a device very eficient and it have a good quality.
I always looking for the quality that is why i prefer to buy viagra because i always have a great result in my sexual life.
I agree with javieth. JavaScript is more understandable than others. Keep on posting the codes. It is really a big help.
I agree with javieth. JavaScript is more understandable than others. Keep on posting the codes. It is really a big help.
server support company nyc
It will be very helpful to me everytime i found a site that is a foreign language. Hope it will works perfectly.
I really appreciate this post. I¡¦ve been looking all over for this! Thank goodness I found it on Bing. You have made my day! Thanks again.
Can I just say, this blog is what got me through the day today. Every time I read it, I just get more and more excited about whats next. Very refreshing blog and very refreshing ideas
Its so important to know how to construct a great blog to get people interested and youve done just that. The content is great, the videos are perfect for what youre trying to say.
This is an superb post, and I can agree with what was written here. I will be back to check out more of your articles soon.
I'm currently using Wordpress for a few of my sites but looking to change one of them over to a platform similar to yours as a trial run. Anything in particular you would recommend about it?
Sharing this is a great help for the readers in order for them to widen their knowledge about the subject
Well written post, well researched and useful for me in the future.I am so happy you took the time and effort to make this. Kind regards
I saw a program about this on TV the other night. Thanks for covering it in greater depth
I must say the quality of the post if really good.I really appreciate that people are coming in front with such valuable info.
Hi there, It is very informative post and i learned allot from this post. Great piece of work. Keep up the awesome work. And thanks for sharing such an informative post and letting me to share my thoughts.
Happy to see your blog as it is just what I’ve looking for and excited to read all the posts. I am looking forward to another great article from you.
Thanks for sharing this great article! That is very interesting I love reading and I am always searching for informative information like this.
This has definitely sparked up an idea in my mind. This can be a amazing website submit.
Thanks for this! I’ve been searching all over the web for the details.
There are aliens that match subpar abilities to bench press tall buildings while playing guitar. This makes him satisfied and avenged at the same space.
Excellent information. I find it ineteresting to read your article. This site definitely explains essential concepts to its readers. Thanks for continuing to write such wonderful articles.
Thanks a lot for sharing a freaking awesome post.. :D Great!
WONDERFUL Post.thanks for share..more wait
I'm agree with you, it's all so pretty. I never comment on those blogs, even when the content is great Smile
Very interesting stuff, I have bookmarked this page and shared with my friends too would like to have an regular visit to your blog..
I am very happy to be here because this is a very good site that provides lots of information about the topics covered in depth.
Thank you for placing up awesome information and then keep up the awesome publishing amazing aspects.
Nice blog. I like very much. We expect similar this one. Thanks for sharing to all this nice info.
We are already to be able to compete with companies that sell products similar to ours. We do have to look at the various market opportunities that can be taken at this time.
If well controlled with medications, then the sky could be the limit. My husband is bipolar, got the help he needed and works as an architect. He is very accomplished.
Wow, I love your site, big thank you to these ideas, and note in the first place that I fully agree with you! Let me emphasize, yes your article was excellent. I definitely enjoyed every little bit of it.
That's a great attitude; I hope the incoming comments and suggestions are equally positive. I know I've said it in person, but for anyone reading the comments, it’s awesome!
Your blog is really excellent. It inspires the readers who have that great desire to lead a better and happier life. Thanks for sharing this information and hope to read more from you. Great information…
I have read your blog it is very helpful for me because I m working on such related project. I want to say thanks to you. I have bookmarked your site for future updates.
Used cars online are better than new cars, this is because new cars are depreciated with a rapid percentage as compare to used cars value it is however important to do careful inspection of used car to be purchased.
You seem to know a lot about this, like you created the distribution in it or something. I think that you can do with some pictures to take a trip the idea home a bit, but other than that, this is awesome website.
Nice to be visiting your blog again, Well this article that I’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.
I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.
The topic is remarkable. I actually never think i could have an excellent read by this time until i find out this website. I am thankful for providing this.
That is really useful. I would like to request if it would be all right if i i state some of that on my personal weblog. I would compensate you.
This post is very good. I am very happy to know some of the quality blogs still exist now that useful information.
I was greatly interested with what you have shared and posted with us. Thanks for your piece of writing it have been very beneficial.
I thought I would leave my first comment.
I don't know what to say except that I have enjoyed reading.
However I will need to point out that this particular post genuinely forced me to take some action.
http://www.epharmarx.com/blog/heartburn-and-how-to-get-rid-of-it/
It should be noted that whilst ordering papers for sale at paper writing service, you can get unkind attitude. In case you feel that the bureau is trying to cheat you, don't buy term paper from it. https://www.profischnell.com
Thumbs up guys your doing a really good job. Olansi luftreiniger
You completely match our expectation and the variety of our information. 香港交友平台
This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea. 香港約會
Post a Comment