Marak / translate.js

translate text from one language to another on node.js and the browser. 30+ languages supported, simple as cake.
311 stars 60 forks source link

improve UI in browser demo #2

Open Marak opened 14 years ago

Marak commented 14 years ago

lets add some intent to the form inputs and trigger the translation to work on keypress and select box changes.

"intent" means adding a delay in firing the event associated with keypress, etc, and grouping them so that we don't spam ajax requests. we can't map keypresses to ajax requests 1:1.

Marak commented 14 years ago

it looks like this might be solved by http://github.com/helpmepro1/translate.js/commit/35340ed19b52ceab6ec2385bf64c034e165f2d58

will check tonight and merge

Marak commented 14 years ago

started to implement this, will try to push later this week