Hello dears, can we use Microsoft Translator with a plugin (does a plugin exist?) for translation in a Word Press Website/Divi?

Cyrus Claude 20 Reputation points
2025-04-17T15:48:46.8566667+00:00

Hello!

Can we use Microsoft Azure Translation with a Plugin (if it exists?) for website translations? The website is done With Wordpress/Divi-Extra.

I am preparing a news website in English (almost ready), and I would want to have 3 other language versions of the same website.

And I didn't see a Translation Plugin of Microsoft Azure in the Word Press Plugins system.

I would be happy to know how I can use Microsoft Azure with for Translation for my website, and get 3 other website languages.

Kind regards

Cyrus Claude

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

Accepted answer
  1. Prashanth Veeragoni 5,170 Reputation points Microsoft External Staff Moderator
    2025-04-17T16:27:16.9066667+00:00

    Hi Cyrus Claude,

    There's no official Microsoft Translator plugin in the WordPress Plugin Directory; you can still use Microsoft Azure Translator API in your website through custom integration or third-party plugins that allow API connections.

    Option1: Use Third-Party Plugin that Supports Custom Translation APIs (including Azure)

    There are plugins that support external APIs, including Microsoft Translator with some tweaks:

    1.TranslatePress

    ·       Supports custom translation methods via API (with some development).

    ·       You can integrate Microsoft Translator API using a custom add-on or by extending the plugin.

    ·       It has language switchers, SEO support, and works well with Divi.

    2.WPML + Custom Azure Integration

    ·       WPML is a premium plugin, supports multiple languages, and allows custom translation services.

    ·       You or a developer can build an integration where content is passed to Azure Translator and stored as translated content in WPML’s structure.

    Option2: Custom Integration using Azure Translator API

    If you're comfortable with development or have a developer:

    Step-by-step:

    1.      Get Microsoft Azure Translator API key:

    o   Go to Azure Portal → Create a “Cognitive Services” → Choose “Translator” → Get key + endpoint.

    2.      Build a Custom Translation Script:

    o   Use a plugin like WP All Import or write a custom PHP script.

    o   Script sends English content to Azure API and receives translations.

    3.      Store translations in the WordPress multilingual setup (using plugins like Polylang, WPML, or TranslatePress).

    Microsoft Translator Text API Docs: https://learn.microsoft.com/en-us/azure/ai-services/translator/

    Basic CURL/PHP example:

    $response = wp_remote_post( 'https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=fr', [
        'headers' => [
            'Ocp-Apim-Subscription-Key' => 'YOUR_KEY',
            'Content-Type' => 'application/json',
        ],
        'body' => json_encode([
            ['Text' => 'Hello, how are you?']
        ])
    ]);
    $body = wp_remote_retrieve_body( $response );
    $data = json_decode( $body, true );
    

    Final Recommendation:

    If you're not a developer:

    ·       Use TranslatePress Pro (or WPML) and connect it to Microsoft Translator API.

    ·       Benefit: Clean UI for translation, SEO-ready, and easier to manage.

    If you are a developer:

    ·       Go with custom API integration + WPML or Polylang for storing translations.

    Hope this helps. Do let us know if you any further queries.


    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.

    Thank you!

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.