I am working on created a simple image bookmarking site with wordpress, currently it has a bookmarklet that allows user to collect images from other domains with one click.
This bookmarklet auto-fetches title from the source site and the problem with this process is that many other sites that user might collect images from, are gonna be non-english ones. so the bookmarklet will fetch that non english title and make a post with it.
Is there an easy solution to solve this? maybe by adding some function on function.php file that auto translates the non-english title to english by using google api maybe? If yes can you please give me the function code that can do this?
Thanks for Reading :) and sorry for the Bad english :P I would really appreciate any help.