TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mohit Zinzuvadia
NA
7
0
Translate webpage of unlimited content using google translate.
Dec 25 2009 6:56 AM
Hi,
I am working on a code where i need to convert the whole webpages with unlimited characters of content using google translate.
I know there is a limit of 2000 chars at a time for the conversion using google translate. but yet i need to implement this.
I have already achieved a target of translating unlimited content using splitting the whole string in substrings and sending request to google translate using that substrings in a loop.
but now a new issue is generated in which if string contiains any html tags then in case of all the closed html tags in single string, I am geeting proper translation where as, when string splits and if at the time of splitting the string, any html tag remains unclosed, then from that place, whole string looses its format given using tags like <b>,<strong>,<td> etc. and whole translated text can not get the same HTML formating given in the same english(for ex.) paragraph.
I am using google ajax api dll (
http://iron9light.wordpre
ss.com/200
8/06/03/go
ogle-trans
late-
api-f
or-net-01-
release/
) for setting the reference in vs 2005 and asp C# as my development environment.
plz help me as soon as possible as its very urgent and very imp for me to complete this task.
Thank you.
Attachment:
gt.zip
Reply
Answers (
1
)
fetch multiple records one by one from database and display on page
Show with an example how to Cache different version of same page using ASP.NET Cache object