The API assumes that your translation will be utilized in a web context; thus, it defaults to rendering strings in HTML. However, if you're not concerned about HTML, you can use the format parameter to specify that your string is plain text. In this case, it will not translate the quote and other marks to HTML character references.
Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Sep 7, 2010, at 2:33 AM, Dave wrote: > Hi, > > I'm using Google Translate API, but when I try to translate a string > that contains some quotes or single quotes (" or '), it translate > these charactes to its HTML code (" '). > > Do you know if Google Translate do the same with other characters? Is > there any option not to translate these characters? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Google AJAX APIs" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.
