dart-lang/dart-synonym — pull request #1 by bp74 (2012-09-08 18:11:32+00:00)
Title: Support for other languages and first AS3 synonyms

Hi Seth,

Here are some changes for the synonym-page to support more than one language.

The Dart code was pretty old (e.g. it was still using 'dart:dom') so i have updated the code to the latest Dart changes. I also changed the code a little bit to make it easy to load different synonym languages. I also renamed your "synonym.xml" file to "synonym-js.xml" and i have added "synonym-as3.xml". I hope this is okay for you!?

I did not add a language chooser to the HTML because i was not sure how you would like it. But the Dart code is ready, you just have to call the "loadSynonyms" method every time the user changes the language.

It would be very cool to have other languages too, like Java or C#. I could do C# but maybe John Evans is interested? The AS3 synonyms are not finished, i still have to add some more details. But you can look at the beta version here (and this version is included in this pull request).
http://www.dartflash.com/test/dart-synonym/static/index.html

And i found two Dart issues :) But that's another story ...
http://code.google.com/p/dart/issues/detail?id=5010
http://code.google.com/p/dart/issues/detail?id=5011

Please let me know if i have to do some changes.
Bernhard