This project is read-only.
To understand how to use the Translator parser project please read the following posts at my blog. Here you see a test that shows how to use the Translator Parser:
[TestMethod]
public void ParserTest()
{
    ManualResetEvent manualResetEvent = new ManualResetEvent(false);
    Translator translator = new Translator();             
    translator.DownloadCompleted += (translatorObject) => 
    {
        foreach(var item in translatorObject)
        {
            var key = item.Key;
            var value = item.Value;
            var translateCount = value.Values.Where(str => str == "\"übersetzen\"").Count();
            Assert.AreEqual(translateCount, 1);                    
            manualResetEvent.Set();
        }
    };
    translator.Translate("translate", "EN", "DE");
    manualResetEvent.WaitOne();
}

Last edited Nov 11, 2013 at 12:55 PM by netmatze, version 4