Need to integrate Microsoft Azure translator to translate entire php website using PHP

Meghna Chahar 0 Reputation points
2023-02-23T05:12:58.9166667+00:00

Hello,

I want to integrate Microsoft translator to translate entire website in PHP.

I was able to translate a text but not getting proper samples or documentation for using Azure translation API for website. Could you please help me about this.

Azure Translator
Azure Translator
An Azure service to easily conduct machine translation with a simple REST API call.
399 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 46,056 Reputation points Microsoft Employee
    2023-02-23T10:29:18.6733333+00:00

    Meghna Chahar If you want to use Azure Translator API to translate an entire set of web pages then you can use the document translator API which offers asynchronous translation requests to be passed for a set of documents and supports various document formats. This quickstart should help you get started.

    The general translator API is designed to translate short text with limitation on the number of characters. If you are designing an application to translate text from a page, or a highlighted text from a page then this is ideal for such scenarios where you pass the text in requests with maximum request size not exceeding 50000 characters.

    I hope this helps!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.