Implementing Document Translation With Single Document

Learn to perform single document translation from one language to another language using the text translator API.


In the previous lesson, we implemented translation of all the documents present in the source container and stored all the translated documents in the target container.

To work on this chapter too, you would need a Standard tier subscription of the translator service. It will not work in the Free tier.


Before moving on with the implementation, it is assumed that you have already created the storage account for the required source and target containers. In this lesson, you need to create the SAS token only for the file/blob on which you want to apply the translation. You can follow the steps mentioned in the chapter How to Create a Storage Account and SAS Token? and create a blob container and upload your documents inside the source container and finally generate the SAS token for an individual file.

Below is a sample PDF of Azure certification. You can download it and keep it in your source container for working with this lesson.

Get hands-on with 1200+ tech skills courses.