LocalePro
Menu

العربية

Translate your WordPress site into Arabic

Arabic at /ar/, with the page direction flipped for you. The plugin sets dir="rtl" and tells WordPress the page is right to left, so your theme's RTL stylesheet loads.

Code ar Address /ar/ DeepL yes Formality no Right to left

Arabic is written right to left, and translating the words is only half the job. On the /ar/ address LocalePro sets dir="rtl" on the html element and switches WordPress's own text direction, which is what themes check before loading rtl.css. The layout follows the language without you touching the theme.

Arabic is listed by DeepL, Google, and Microsoft, so any of them can translate it. DeepL does not accept a formality setting for Arabic, so that switch is not offered.

Numbers and prices are left exactly as written. The switcher shows العربية, marked lang="ar" so it is read aloud as Arabic.

Setup is the same for every language: languages and URLs, getting an API key, and translating a site.

What you get in Arabic

The same five things every language gets, with Arabic's code and address filled in.

Its own address: /ar/

Every page gets a Arabic version under /ar/ by default. You can rename the segment on the Languages tab; the old address redirects to the new one.

hreflang ar on every page

LocalePro prints one alternate link per enabled language, plus x-default pointing at your source language. The canonical URL points at the /ar/ version of the page, and the html tag carries lang="ar".

Arabic slugs

A post's slug can be translated per language from the editor, and fixed segments such as /category/ or /products/ can be given a Arabic word on the Languages tab. Leave either blank and the original stays.

A switcher that says العربية

The language switcher shows العربية, Arabic, both, or the code, as you prefer. The native label carries lang="ar" so a screen reader pronounces it correctly. Add it as a block, a shortcode, a widget, or a menu item.

Titles, descriptions, and JSON-LD

The page title, meta description, Open Graph and Twitter text, and any JSON-LD graph an SEO plugin prints are translated with the page, and the URLs inside that graph are rewritten to the /ar/ address.

Providers for Arabic

You connect your own account. Connect one, two, or all three and leave the service on Automatic: DeepL is tried first, and the next one answers if it is down, out of quota, or does not publish the language.

DeepL

Covered

Formality: no

DeepL lists Arabic. DeepL does not accept a formality setting for it, so that switch is not offered; the register follows your source text.

About DeepL

Google Cloud Translation

Covered

First 500,000 characters a month free

Google lists Arabic. Paste a Cloud Translation API key under Settings → Connectors and new sentences are sent there, once, then served from your site.

About Google Cloud Translation

Microsoft Translator

Covered

First 2,000,000 characters a month free

Microsoft lists Arabic. Connect an Azure AI Translator resource and it can translate on its own or stand in when another service is unavailable.

About Microsoft Translator

Right-to-left layout

Arabic is written right to left, and LocalePro treats that as part of the translation. On the /ar/ address the html element gets dir="rtl", and WordPress's own text direction is set to rtl for the request. That second step is what themes check before loading their RTL stylesheet, so the layout mirrors without theme changes.

A page you have excluded from translation, which still shows the source text, keeps the source language's direction, so a left-to-right page is never mirrored by mistake.

What Arabic costs

LocalePro is a yearly price for the plugin and adds nothing per word or per language. Each sentence is sent to the service you connected once, the first time a visitor needs it, and the result is stored in WordPress. After that the Arabic page is served from your own database.

On the provider side, Google Cloud Translation includes the first 500,000 characters each month at no charge, and Microsoft's Azure Translator includes the first 2,000,000. DeepL gives a new API account a one-time Developer credit of 1,000,000 characters, then sells Growth plans. A monthly ceiling under Usage and spend stops provider spend at a number you choose.

Questions about Arabic

Does the Arabic page actually render right to left? +

Yes. LocalePro writes dir="rtl" into the html tag and sets WordPress's text direction to rtl for the request, so is_rtl() is true and themes that ship an RTL stylesheet load it. An excluded page that still shows the source text keeps the source direction.

Can I set a formal or informal register for Arabic? +

No. DeepL does not accept a formality parameter for Arabic, and Google and Microsoft have no equivalent, so there is no switch to set. Any saved translation can be edited by hand.

Are there regional Arabic variants to pick? +

No. The catalog has one Arabic entry, served at /ar/ by default. A WordPress locale such as ar_SA is treated as Arabic and gets the right-to-left handling.

Other languages: Spanish , French , German , Portuguese (Brazil) , Portuguese , Italian , Dutch , Japanese , Chinese (Simplified) , Chinese (Traditional) , Korean , Polish . The full catalog is in the languages reference.

Add Arabic to your site this week

Turn on Arabic, paste a key, and open /ar/. The translations are yours from the first page view.