LocalePro
Menu

Microsoft Translator

Your Azure Translator resource. Your WordPress site.

LocalePro sits between WordPress and Azure AI Translator. You pay Microsoft for new text, after a two-million-character monthly allowance. You pay us a yearly price for the plugin.

Microsoft's translation service is the one most people have never thought to connect to WordPress, and it has the largest free allowance of the three LocalePro supports. Create a Translator resource in Azure, copy a key, paste it under Settings → Connectors, and the plugin sends only sentences it has never seen.

The first visitor to a new sentence is the one that reaches Microsoft. After that, the translation is served from your site. If you cancel LocalePro, translation keeps working. You stop getting plugin updates.

Prices and brand names are where automatic translation usually stumbles. LocalePro leaves prices alone, and you can list names that must stay spelled as you wrote them.

Setup notes live in translation service docs and how to get an API key. DeepL and Google Cloud Translation are documented the same way.

What LocalePro does with Microsoft

Azure Translator Text API v3, a region setting for resources that need one, and your glossary sent inline.

A key and, sometimes, a region

LocalePro calls Azure AI Translator's Text API v3 with the subscription key from your Translator resource, pasted under Settings → Connectors. A resource created as Global needs nothing else. One created in a region, or a multi-service Azure AI resource, also needs its region name (westeurope, eastus, and so on) in the "Microsoft Translator region" field under Settings → Translation.

2,000,000 characters a month at no charge

The Translator free tier (F0) covers two million characters each month. Only text LocalePro has never seen is sent, so after the first pass a site usually sends very little.

Your glossary, as a dynamic dictionary

Microsoft has no glossary resource to sync. Instead, LocalePro wraps each glossary term in the request itself, as Microsoft's dynamic dictionary markup, and the engine translates around it. Nothing is stored on Microsoft's side and nothing can fall out of date. Microsoft reads the dictionary only when English is one side of the pair.

Up to 100 texts per request, requests in parallel

Missing sentences for a page are packed into requests of up to 100 texts, and the requests for one page are sent at the same time. Sentences with links or emphasis go as HTML so the tags survive.

The widest language list

Microsoft publishes well over a hundred languages. In Automatic mode it sits last in the chain, after DeepL and Google, so it mostly answers for pairs the others cannot.

No context field, no formality

v3 has nowhere to put a page hint or a register choice. Those two settings only reach DeepL. Everything else, including the spend limit, failover, and translation memory, works the same.

Questions

Which Azure resource do I create? +

A Translator resource (Azure AI services → Translator). Either pricing tier works; F0 is the free one. Copy one of its two keys into Settings → Connectors. If you created it in a specific region rather than Global, also enter that region under Settings → Translation.

My key is correct but every request fails with 401. Why? +

A regional or multi-service resource rejects a request that does not name its region, and the error reads like a bad key. Enter the region exactly as Azure spells it, such as westeurope, in the "Microsoft Translator region" field. LocalePro adds that hint to the error message when the region is empty.

Can I set the key and region outside the database? +

Yes. The key is read from the LOCALEPRO_MICROSOFT_TRANSLATION_API_KEY environment variable or constant, and the region from LOCALEPRO_MICROSOFT_TRANSLATION_REGION, before the settings are consulted. Useful for staging copies and deployments.

Can I use DeepL or Google as well? +

Yes. Connect any combination and leave "Service to use" on Automatic. If a service is down, rate-limited, out of quota, or does not publish a language, the next one answers.

Connect Microsoft Translator and translate the first page

A yearly price for your sites. Microsoft bills you for text that isn't saved yet, after the free allowance.