Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First, you must copy the HTML present in all

...

<Content>

...

tags of your gadget XML to a separate text file (let's call it

...

contents.txt

...

). Remove the

...

<script>

...

and

...

<style>

...

tags for faster execution.

Now open the gadgets i18n tool, click "Browse source HTML file," and select the

...

contents.txt

...

file you just created. Clicking the button labeled "generate English message bundle" will create a

...

en_ALL.xml

...

message bundle file in same directory as the HTML source in

...

content.txt

...

.

Here is an example of what it will do:

...

http://code.google.com/apis/gadgets/docs/i18n.html

Author Bio

Aakash Bapna is primarily a B.E. (Information Sciences) student of P.E.S School of Engineering, Bangalore. He has been given orkut Guru tag by Google for his contribution to the Orkut developer platform. Also a Microsoft Student Partner from his college, Aakash works part time for BitRhymes Inc. He can be reached through his website - http://aakash.me.