How to Create Microsoft Azure Language Translator APIs Cognitive Service
Tags: azure, cloud, devops, beginners
Published: 2023-02-23 18:44:53

Azure Cognitive Services are artificial intelligence (AI) cloud-based services that assist developers in integrating cognitive intelligence into applications without needing specific AI or data science expertise.
With the aid of cognitive solutions that can see, hear, talk, and analyse data, developers can quickly include cognitive features into their apps using Azure Cognitive Services.
Categories of Cognitive Services include:
1.	Language – Translator, Language service, Language understanding (classic) and QnA maker (classic)
2.	Speech – Speech to text, text to speech, translation and speaker recognition
3.	Vision – Computer vision, Custom vision and Face API
4.	Decision – Anomaly detector, Content moderator and Personalizer
5.	Azure Open AI – Perform a wide variety of natural language tasks
6.	Multipurpose – Cognitive services multi-service account
Azure Cognitive Services Translator is a cloud-based machine translation service used by thousands of businesses worldwide to perform language translation and other language-related operations. It translates text in with a simple (Representational State Transfer) REST API call. The service uses modern neural machine translation technology and offers statistical machine translation technology. 
A translator enables you to build intelligent, multi-language solutions for your applications across all supported languages.

How Microsoft Azure Language Translator works:
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tin6x0o9rzn3y8un77fp.png)
Source: What is Microsoft Translator by Harkeerat Toor - Kiefer Consulting

Steps to Creating Microsoft Azure Language Translator:
STEP 1:
Create a Microsoft azure account and login
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yx6eno9qgdet5n1nr1no.png)

STEP 2:
Search for Cognitive Services then click and create

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6bitymjp4clxal59lfkw.png)

STEP 3:
On the Cognitive Service page, under Language, click on ‘Create’ under ‘Translator’

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0whophodtkhxvebfrmzr.png)

STEP 4:
Line 1 – Choose your Azure Subscription
Line 2 – I like to use the current month, but it is up to you
Line 3 – It is up to you
Line 4 – Choose a unique name
Line 5 – Use this if you’re on a budget like me. Lol
Then click ‘Review + create’

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/25mhrtogowa8fvbji6gl.png)

STEP 5:
Click on ‘Create’

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/97yuqoddcxcugd5b3zid.png)

STEP 6:
Click on ‘Go to resource’

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/slh6ramxrrxme2jj4fym.png)

STEP 7:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jz8yavtiuq1jii6nou6j.png)

FINAL STEP:
Click on the arrows to change to any language of your choice and write a command for translation

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9pumrl72elbns93toavu.png)

CONGRATULATIONS, your Microsoft Azure Cognitive Service Language Translator is ready.
If you want to clean up and remove a Cognitive Service subscription, you can delete the resource group but note that deleting the resource group also deletes any other resources contained in the group, so it is safer to delete the Cognitive service instead.

IMPORTANT: In order to save money or credit, it is worthy of note to properly shutdown or delete your Microsoft Azure Cognitive Service Language Translator after use because they are billed on a "per hour" basis.