开发者

How to translate .PDF files using google APIs? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this q开发者_StackOverflow社区uestion so that it can be reopened, visit the help center. Closed 9 years ago.

How to translate .PDF files using google APIs? (translate from language the pdf's are to for example russian (new pdf file orplain text or html).) (code example needed)


You could link the PDFs to
http://translate.google.com/translate?hl=fr&sl=auto&tl=en&u=http://www.example.com/PDF.pdf

The query paramaters:

hl: original language
tl: language to translate to
u: URL for PDF

If you would like to use the AJAX API I guess you first need to extract the text content from the PDF with some PHP and then translate it with Googles AJAX API for translation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜