Hi Muthu, I don't think that we have to translate OPS 301. For all other views on translation we might could think about that option to use remote but as far I have read (quick cross read the google language API) it would need permanent access to Google's remote servers. Care2x should be placed on a server what do not have direct internet access based on the matter of trust. We store medical and confidential data and for that we should recommend conservative and strict proceudues for it and not have internet access in our installation requirement lists.
I would recommend for care2x as well as other databases for ERP and CRM in production use to place these server in an network isolated way, called "Demilitarized Zone" (DMZ): http://en.wikipedia.org/wiki/Demilitarized_zone_%28computing%29 Well, we cannot classify the internet as trusted network and so we might not able to use it. Or had I an misinterpretation of the API? Does it work also offline? Robert Am Dienstag, den 14.09.2010, 10:19 +0530 schrieb Ap.Muthu: > While working on the easiest way to translate the OPS301 CSV files so that > any language can be added on the fly from the original German file, I > checked out the Google Translate APIs and here are the Links: > > Two Wrappers: > 1. Official: http://code.google.com/p/php-language-api/ > 2. Third-Party: http://code.google.com/p/gtranslate-api-php/ > > Here is some sample code: > > ====== > > require_once("GTranslate.php"); > try{ > $gt = new Gtranslate; > echo "Translating [Hello World] from English to German => > ".$gt->english_to_german("hello world")."<br/>"; > echo "Translating [Ciao mondo] Italian to English => > ".$gt->it_to_en("Ciao mondo")."<br/>"; > } catch (GTranslateException $ge) > { > echo $ge->getMessage(); > } > > // ==== > > echo "<br>"; > echo "<br>"; > > // ==== > > // utf-8 is required to display characters properly > header('Content-Type: text/html; charset=utf-8'); > > require_once('google.translator.php'); > > // translate apple from english to portuguese > $str = Google_Translate_API::translate('Apple', 'pt', 'en'); > > // view the translated string > var_dump($str); > > > ====== > > Regards, > Ap.Muthu > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Care2002-developers mailing list > Care2002-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/care2002-developers -- -- -------------------------------------------- CARE2X - free Integ Hospital Info System https://sourceforge.net/projects/care2002/ http://www.care2x.org ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers