New Tool Radar

AI PDF

How to Check Language Changes Inside a Multilingual Tagged PDF

Check that each language passage in a multilingual tagged PDF carries the right language tag.

Schematic illustration of a language check: check the document language, find the French quotation, and find the German term.

A tagged PDF declares one main language, but a document that quotes another language must tag the quoted passage with that language, or a screen reader will pronounce it wrong. The document-level language setting alone is not enough. This guide checks three passages in one multilingual PDF.

Prerequisites

A tagged multilingual PDF and a tool that shows the structure tree with language attributes, such as Acrobat Pro or PAC. Work on a copy.

Steps

1. Check the document language

Open the document properties and read the language. Expected result: the document language reads en-GB.

2. Find the French quotation

Find the French quotation in the structure tree and read its Lang attribute. Expected result: the quotation carries Lang fr.

3. Find the German term

Find the German term in the structure tree and read its Lang attribute. Expected result: the term carries Lang de.

4. Record any passage with the wrong language

Record every passage whose Lang attribute does not match its language. Expected result: a note that lists the errors or confirms all three passages matched.

Practice check: fictional multilingual report, English with French and German passages

The table below is fictional practice material. It lists the three passages and the language each must carry.

Passage Language
Main text en-GB
French quotation fr
German term de

Expected result. all three passages carry the right language: the main text en-GB, the French quotation fr and the German term de.

Limits

  • A Lang attribute proves the tag is set, not that the passage is really in that language; a mislabelled passage still needs a human reader to catch it.
  • UNTESTED – no OCR tool or AI tool was run; all results above are expected results. The practice file is fictional.

Sources

See all