Make a button that toggles a translate mode where:
Everytime you highlight a section, it pops up a small window that has the translated output
Closes when you click out
Problem is that it would drastically increase the number of API calls, buttttt it would be really convenient (i.e. if you don't know what a word means).
A solution would to maybe make it work for only phrases (i.e. using Baidu(?) or some offline chinese dictionary). Then it can be stored directly on the server and be called from the server.
Make a button that toggles a translate mode where:
Problem is that it would drastically increase the number of API calls, buttttt it would be really convenient (i.e. if you don't know what a word means).
A solution would to maybe make it work for only phrases (i.e. using Baidu(?) or some offline chinese dictionary). Then it can be stored directly on the server and be called from the server.