R005: OpenGraph/Twitter metadata untranslated or og:locale missing/invalid
A shared link's preview card is built from OpenGraph and Twitter tags, so English left in them, or a locale that is not Arabic, makes an Arabic page look foreign wherever it is shared.
The check
- Id
- R005
- Category
- Document and metadata
- Default severity
When it fires
The page is Arabic and carries social tags, and any of these holds:
og:title,og:description,twitter:titleortwitter:descriptionis mostly Latin;og:localeis missing; orog:localeis malformed or not Arabic. One finding lists every problem.ar_ARis accepted, and a page with no social tags at all is left alone.Fix: Translate the social titles/descriptions and set og:locale to a real Arabic locale such as ar_SA or ar_AE.
What it leaves alone
A page with no OpenGraph or Twitter tags at all, an og:locale of ar_AR, which is Facebook's generic Arabic, and Latin values under 10 letters once brand names are set aside.
Broken, then fixed
<meta property="og:locale" content="en_US">
<meta property="og:title" content="Project management for modern teams"><meta property="og:locale" content="ar_SA">
<meta property="og:title" content="منصّة إدارة المشاريع للفرق الحديثة">Check it by hand
Run [...document.querySelectorAll('meta[property^=og], meta[name^=twitter]')].map((m) => [m.getAttribute('property') ?? m.name, m.content]) in the DevTools console. Titles and descriptions should read in Arabic, and og:locale should look like ar_SA.
What the report shows you
Each R005 finding carries the fields below that apply to it, so you can see why it fired without rerunning the scan.
- og:title
- The
og:titleas written, when it is untranslated. - og:description
- The
og:descriptionas written, when it is untranslated. - twitter:title
- The
twitter:titleas written, when it is untranslated. - twitter:description
- The
twitter:descriptionas written, when it is untranslated. - og:locale
- The
og:localevalue as written, whenever the page declares one.
More document and metadata checks
- document direction missing, contradicted, or declared only in CSS
- html[lang] missing, non-Arabic, or contradicting detected content
- hreflang alternate set lacks any Arabic entry on an Arabic page
- <title> or meta description majority-Latin on an Arabic page
- Canonical URL points at a different-locale variant
Does your page trip R005?
Paste a URL. Ritla renders the page on desktop, tablet and mobile, runs every check, and shows the top issues with screenshot evidence.
Scan a page freeBrowse the checks