Primary language – Failed (document language not set)
No document language is set, so screen readers may read English text with the wrong voice and pronunciation rules. Set it once to fix a dozen errors.
Drop your PDF to find "Primary language – Failed (document language not set)" in your browser. PagePass can fix it for you.
Drag and drop a PDF here, or choose a file.
Your file never leaves your browser.
Already confirmed this error? Fix this PDF in PagePass (uploads are deleted after 1 hour).
How each checker reports it
| Checker | Exact message | Rule / checkpoint |
|---|---|---|
| Adobe Acrobat Accessibility Checker | Primary language – Failed | - |
| PAC (PDF Accessibility Checker) | Natural language of text object cannot be determined | - |
| PAC (PDF Accessibility Checker) | Natural language of alternative text cannot be determined | - |
| PAC (PDF Accessibility Checker) | Natural language of an outline item cannot be determined | - |
| PAC (PDF Accessibility Checker) | Natural language of Contents entries in annotations cannot be determined | - |
| PAC (PDF Accessibility Checker) | Natural language of an alternate name of a form field cannot be determined | - |
| veraPDF (PDF/UA-1 profile) | Natural language for text in page content cannot be determined | 7.2-34 |
| veraPDF (PDF/UA-1 profile) | Natural language for document metadata cannot be determined | 7.2-33 |
| veraPDF (PDF/UA-1 profile) | Natural language for text in Alt attribute cannot be determined | 7.2-22 |
| veraPDF (PDF/UA-1 profile) | Natural language in the Outline entries cannot be determined | 7.2-2 |
| Matterhorn Protocol 1.1 | Natural language for text in page content cannot be determined. | 11-001 |
| Matterhorn Protocol 1.1 | Natural language for document metadata cannot be determined. | 11-006 |
- Severity
- Serious: major barrier for some users
- Automatic fix
- Yes: automated tagging, then a short visual review in PagePass
- WCAG 2.1 success criteria
- Matterhorn Protocol checkpoints
- 11-001, 11-002, 11-003, 11-004, 11-005, 11-006
What this error means
PDFs declare their language with a /Lang entry. The most important one sits in the document catalog and sets the default for everything; individual tags can override it for passages in another language.
When the catalog has no /Lang, Acrobat’s Primary language rule fails, and PAC and veraPDF report a family of “natural language cannot be determined” errors. They are the same root cause seen from different angles: PAC and veraPDF check page text, alternate text, actual text, bookmark (outline) titles, link Contents, form-field tooltips and metadata one by one, and each has no language to inherit. The Matterhorn Protocol lists these as checkpoints 11-001 to 11-006.
Why it matters for screen-reader users
Speech synthesizers need to know the language to pronounce words correctly. Without it, a screen reader uses whatever default the user configured. A Spanish-speaking resident reading a Spanish notice on an English-configured computer may hear Spanish words pronounced with English rules, which can be close to unintelligible. Braille displays also use language to choose contraction tables.
This is WCAG 2.1 success criterion 3.1.1 Language of Page (Level A), implemented for PDF by technique PDF16. Public entities publishing translated notices under ADA Title II should check every language version, because a translated file is often exported from a template that still carries the original language, or none at all.
How to confirm the fix
Reopen Document properties and check the Advanced tab shows the right language. In PAC, the Natural language section should be clean; if a few messages remain, they point to specific tags that carry an empty or invalid language of their own, which you can correct in the tag’s Properties.
How to set the document language in Acrobat Pro
Step 1: Use the checker's Fix option
In the Accessibility Checker panel, right-click (Ctrl-click on macOS) Primary language and choose Fix. Pick the language in the Set Reading Language dialog and click OK.
Step 2: Or set it in Document properties
Choose File > Document properties (hamburger menu on Windows, File menu on macOS), open the Advanced tab and pick the language under Reading Options. If your language is not listed, type its code, for example en-US or es-MX.
Step 3: Mark passages in other languages
For a paragraph in another language, select its tag in the Accessibility Tags panel (View > Show/Hide > Side panels > Accessibility tags), choose Properties and set Language for that tag. Child tags inherit it.
Step 4: Save and re-check
Save the file and run the Accessibility check again. In PAC, all of the 'Natural language … cannot be determined' messages that stem from the missing default language should disappear together.
Prevent it in the source file
Microsoft Word
- Select all text and set Review > Language > Set Proofing Language to the correct language before exporting; Word uses it to write the PDF language.
Google Docs
- Set File > Language to the document's language before downloading the PDF, then confirm the value in Acrobat's Document properties.
Adobe InDesign
- Set Language in your paragraph and character styles, and choose the document language in the Advanced panel of the Export Adobe PDF dialog.
How PagePass fixes it automatically
PagePass detects the main language of the text and writes it as a valid BCP-47 tag (such as en-US) to the document catalog and the XMP metadata, which resolves the page-content, alt-text, outline, annotation and form-field language checks together. You can change the detected language in the 60-second visual check, and veraPDF confirms the result.
Software does about 90% of the tagging. One person on your team checks the rest in about a minute per document. veraPDF validates the result against PDF/UA-1.
Frequently asked questions
Why do I get so many 'Natural language' errors in PAC?
PAC checks the language of every kind of text separately: page text, alternate text, bookmarks, link descriptions, form-field names and more. When the document has no default language, every one of them fails. Setting the document language usually clears them all at once.
Which language code should I use?
Use a standard language tag such as en, en-US, es or fr-CA. A region subtag is optional. Avoid made-up values like 'English' or 'EN_US', which fail the separate Lang validity check.
What about documents in two languages?
Set the primary language for the whole file, then set the language on the tags for passages in the second language. WCAG 2.1 success criterion 3.1.2 Language of Parts covers those passages.
Can PagePass detect the language automatically?
Yes. The language is detected from the document text and applied automatically; you can override it during review.
Related errors
- Value of the Lang entry is not a Language-Tag
The PDF sets a language, but the value is not a valid code like en-US, so screen readers cannot pick the right voice. Replace it with a BCP 47 tag.
- Title – Failed (document title missing)
The PDF has no document title, so screen readers announce a file name like scan_0042.pdf. Add a descriptive title in two minutes.
- DisplayDocTitle key is not set to true
The PDF tells viewers to show the file name instead of the document title in the window bar. One setting in Document properties fixes it.
- Tagged PDF – Failed (document is not tagged)
The PDF has no tag tree at all, so screen readers guess at reading order and cannot find headings, lists, tables or links. Here is how to tag it.
Related guides
- ADA Title II PDF checklist for cities, towns and counties
A step-by-step PDF plan for cities, towns and counties under the ADA Title II web rule: agendas, minutes, permits, budgets, ordinances and maps.
- European Accessibility Act (EAA) PDF requirements
What the European Accessibility Act (Directive 2019/882) and EN 301 549 require for PDFs in the EU: who is covered, PDF/UA-1 standards and practical steps.
- How to fix Figma PDF accessibility
Figma's PDF export has no tags, so screen readers get little or nothing. Three workable routes to an accessible PDF, and what to fix after export.
- How to make an accessible PDF from Google Docs
Google Docs PDF downloads may or may not keep tags. Three export routes, how to verify the result, and the errors Docs PDFs usually trigger.