binarylime Posted May 30, 2008 Share Posted May 30, 2008 Hi, as you may or may not be aware, the Google language API has a 500 character limit. This is no good when attempting to translate an entire page. I have written some code to split() the page text into sentences, stored in an array. Each sentence from the array is then in turn sent to the Google API for translation before being printed to the screen. All seems well, except the order in which the translated text appears on screen is not the order in which they were stored in the array! Not sure whats going on. See http://development.asclarke.com/translate2.html Any help appreciated. Thanks! Quote Link to comment Share on other sites More sharing options...
binarylime Posted May 31, 2008 Author Share Posted May 31, 2008 Sorted, read this: http://www.wait-till-i.com/2008/04/08/my-wishlist-for-a-great-ajax-api/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.