Hi Chip: My plan is to have the user select a Source and Target language then read in the original xml for the source language from the xml file, convert it to the target language and insert the new language element into the original xml file - actually create a new xml file save the old one and rename the new file so there is a backup of the original. Rick USA ----- Original Message ----- From: Chip Orange To: [email protected] Sent: Tuesday, May 10, 2011 8:49 PM Subject: RE: AutoLanguageTranslator And UIDesigner Question
Hi Rick, yes, in UIDesign you can just press the enter key while in the value editbox and it will allow you to put that enter into the xml string you are creating (along with tabs, and multiple spaces for indenting). I'm sorry, but I couldn't really follow what your application is going to do, although it does sound like you are getting quite an education out of doing it. it sounded to me however as if it would be just like the existing translation app (well, almost, it did sound like it would put the result into the dialog you were using, and not into a text file or the clipboard). Having the choice of translators could be useful, but I don't think you should worry about non-Windows users as Jared has pointed out; you just won't have anyone who cares about Window-Eyes who isn't a Windows user I don't think. good luck, Chip ------------------------------------------------------------------------------ From: RicksPlace [mailto:[email protected]] Sent: Tuesday, May 10, 2011 11:15 AM To: [email protected] Subject: AutoLanguageTranslator And UIDesigner Question Hi Chip: Last night you mentioned that while creating a string you could add a carriage Return at the end of the string to do things like create Headings. Did you just hit enter to do this or did you actually enter something like VbCrlf or even Chr(13) - or whatever the code is? I think you just hit enter but I don't remember. PS: I have my initial CSharp 2008 application working to convert strings entered on a form into other languages. It is a CSharp MultiProject Solution using WCF and Service contracts as well as the new JSON Serialization members in the .net 3.5 Framework. I have worked in CSharp some and used the HTTPWebRequest and HTTPWebResponse before but not in a WCF implementation nor with REST and JSON as Google Requires - so I am getting something out of this project. I might add a second project using the Microsoft Translator and, with permission, Jamals .pl based script for cross platform usage. That way I could put 3 buttons on the UI Form in the Root VBS Script to allow a scriptor to use the Google Translator for Windows, the Microsoft Translator for Windows or Jamal's modified script forNonWindows users. Anyway, the project is now under way since Aaron said they have no plans to add this type of feature to their new UIDesigner thingy and I think there is a need for something like this. Later: Rick USA
