Skip to content
PDF Accessibility

DefinitionUpdated 2026-12-03

Natural language

A small setting that decides whether a screen reader pronounces your document correctly.

What is the natural language of a PDF?

The natural language is the primary human language of the document, declared in the Lang entry of the PDF catalog using a code such as en-US or de. Screen readers use it to pick the correct speech engine and pronunciation. WCAG 3.1.1 Language of Page requires it, and 3.1.2 Language of Parts requires marking passages in other languages.

Why language matters

If a Spanish document is declared as English, an English voice will attempt Spanish words with English rules, which is hard to understand. Braille displays may also use the language to choose translation tables.

Checkers report a primary language failure when the catalog has no Lang entry. PDF/UA requires the language to be determinable for all text.

Document language and passage language

Set the document language once in the catalog. When a passage, quote or term is in another language, set Lang on that structure element so the screen reader switches voices for just that part. The W3C describes these in PDF techniques PDF16 and PDF19.

Proper names and widely used loanwords usually do not need their own language setting.

Setting the language

In Word, set the proofing language of the text before exporting. In a desktop PDF editor, the language option is in Document Properties under Advanced reading options.

Our automatic fixer detects the dominant language from the text and sets it in the catalog; you can override it before download. Mixed-language passages are flagged for review.

Sources

This page is general information, not legal advice. Automated checks cannot prove full compliance; some requirements need human review.

Frequently asked questions

Which language code format should I use?

Use a BCP 47 language tag such as en, en-US, fr or es-MX.

Does the language affect how the PDF looks?

No. It only affects how assistive technology and some text tools interpret the content.

My document is bilingual. What language do I set?

Set the language used for most of the text as the document language, then mark the other-language sections with their own Lang.