Skip to main content
Is My PDF Accessible

"Primary language" failed: how to set a PDF's language

Acrobat's Primary language check failed: the PDF doesn't say what language it's in, so screen readers guess. How to set it in Word or Acrobat in a minute.

Not sure which errors your file has? Our free check lists them in plain English, with the fix, in about 30 seconds.Check a PDF free

What the checker is telling you

The file doesn't say what language it is written in.

Where you see it: Acrobat's Accessibility Checker, Document > Primary language: "Failed". In PAC it falls under Matterhorn checkpoint 11 Declared natural language. In our free check it shows as "The language isn't set".

Who it affects

Screen readers may read English text with the wrong accent and rules, making it hard or impossible to understand.

Why it happens

The language is a setting stored in the file. Word writes it from the proofing language of the text, but files exported from other programs, scanned files and many generated reports leave it blank.

Without it, a screen reader reads with whatever voice the listener has set. English read with Spanish rules, or the other way round, is very hard to follow.

How to fix it in Word

  1. Select all text, go to Review > Language > Set Proofing Language and choose the language.
  2. Save as PDF again.

How to fix it in Acrobat Pro

  1. Go to File > Document Properties > Advanced.
  2. Under Reading Options, pick the Language and click OK.

How to check the fix worked

  • In Acrobat, open File > Document Properties > Advanced and check Language under Reading Options.
  • If part of the document is in another language, such as a Spanish summary, that part needs its own language too: select its tag in the Tags panel, open Properties, and set Language.
  • Run the check again: Primary language should pass.

Then run the whole file through a free check to see what else is left.

Which language code should I use?

Use the plain language code, such as English (en) or Spanish (es). A region, such as en-US, is fine too. What matters is that it matches the words on the page. A bilingual notice should be set to its main language, with the passages in the other language marked separately, so each one is read with the right voice.

The rules behind it

  • WCAG 2.1 success criterion 3.1.1 Language of Page
  • PDF/UA-1 (ISO 14289-1), section 7.2

Or let us fix it

We set the document language so screen readers pronounce it correctly. Who does it: software, then a person. Fix it for me handles every other problem in the file the same way, re-checks it, and sends it back.

How Fix it for me works

Related errors

What to do next

Start here, free

Check your PDF

Score, top issues and fixes in about 30 seconds. No account, no email. Files deleted within 24 hours.

Check a PDF free

Easiest: done for you

Hand it to us: Fix it for me

From $49 for a PDF of up to 10 pages. We fix the file, a person checks what software can't judge, and it comes back re-checked in 2 business days. You see the exact price after the free check.

How Fix it for me works