Added translate function to automatically translate any japanese text detected.