This latest version of GoogleTranslator utilizes Google Translate's AJAX APIs to translate text and retrieves the translation by parsing the returned JSON content. What is it? Sample Application beta Version GoogleTranslator is an object that allows you to translate text using the power of Google's online language tools. This demo allows you to easily perform a reverse translation. The app can be used as a poor man's resource translator for simple phrases, but you'd be wise to confirm the translation with a native speaker before using the results. How do I create it? You use Google Api to get translated text to Target language you specify. string sourceLanguage =sourceLang; string targetLanguage = targetLang; string urlNew = string.Format("https://translate.googleapis.com/translate_a/single?client=gtx&sl={0}&tl={1}&dt=t&q={2}", sourceLanguage, ...
The two-way data binding in AngularJS is very powerful, especially when there is a direct mapping of input data to view-model-data. But, when the data mapping requires some translation, interpretation, or validation, you need to get your hands a little dirty - you need to get more involved in how data changes are propagated within your Controller(s). As this has happened to me, I've been forced to think more deeply about my AngularJS application architecture; and, as a result, I've found that my life is often simplified (in the long term) by calling a directive to watch before I bind the data to View model. Factory To Monitor Changes This is easiest and effective way because of these reasons : 1) I just need to call a Trigger Method with scope which should be monitored 2) Once the data is retrieved from Ajax call , I just Initialize the data 3) If there are any changes to bound data on the form and user tries to navigate to another page, I get Confirm box on the...
Having a camera built into your phone isn't a big deal anymore. But when you combine that camera with the rich software applications that run on devices like the iPhone and Android, you get lots of cool new ways to put your cameraphone to good use. Cameraphones are becoming a form of digital photographic memory, helping you remember what level you parked on or the label on that fantastic bottle of wine. Now, with the right apps, you can also use your phone to scan barcodes and store them, and even translate and recognize text. Google Goggles is a brand new application for Android phones that lets you search the web with an image. You just point your phone at an artwork, a book, DVD, or CD cover, a landmark, or a logo, and Goggles will return search results for that item. You can even point your phone at someone's business card, and Goggles can automatically add that person's name, address, phone number, email address and web site to your address book. Eventually, Gog...
Comments
Post a Comment