|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comic dialog Panel 1 Jackeroo: Hey, Jacob, I just got off the phone with a client, I've sold our web package in Japanese, you can get that done by tomorrow, right? Jacob: Actually, you know we can't do that, right? Our pages and database can't handle double byte. Jackeroo: So yeah... I'm glad to hear that tomorrow's fine. Let me know when it's done thanks. Panel 2 Jacob: $!@#!!$!!!$!@ You want Japanese?! I'll give you @!$#@! Japanese! Google don't fail me now! Panel 3 Screen: if (language.equals("HelloKitty")) { redirectSite("googletrans-jp",currenturl); } else { loadJsp(currenturl); } /****************************** ** redirects a site, passing in a url ** as a parameter ** @param whereto destination location ** @param wherefrom the url to pass in *******************************/ public void redirectSite (String whereto, String wherefrom) { if (whereto.equals("googletrans-jp")){ sendRedirect("http://google.com/"+ "translate.c?hl=eng|ja&u="+ wherefrom); } else if (whereto.equals("happyplace")){ Panel 4 Screen: public void inputIntoDb(String language, String field, String input) { if (language.equals("HelloKitty")) { String translatedvalue=null; translatedvalue=parseFromHtml( "http://translate.google.com/"+ "translate.t?langpair=ja|en&" + "text="+UrlEncoder.encode(input), "result-box"); } loadToBean(field,input); } Jacob: Here's hoping they like google translations, and that google never bans us... heh |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Apr 2 2007->Oct 31 2015
|