Copy link to clipboard
Copied
I need to retrieve some data from a database using CFQUERY, and then translate that data into another language (so Spanish, Chinese, etc).- The Google Translator will be sufficient for now since the data is simple instructions - not a long article.
The Javascript function that Google provides causes a dropdown menu to appear when the page is loaded. I want the translation to take place automatically, having selected the language on a previous page.
#googtrans can be put in the URL to translate the whole page. However I only want to translate the database content - not the entire page. So, for example, part of the page would be in English and the other part (from the database) in Spanish / Chinese.
I found a good article on this on a blog some five years old. However it is evident that Google have changed their API since then, and so the blog code no longer works.
Can anyone cast any light on this?
Thanks in advance.
Copy link to clipboard
Copied
Hi vincentlander,
I don't have an answer but this is the forum for CF Builder (the CF Development Tool) so you may want to post this in the ColdFusion discussion group.
Sorry,
Ken