Set a PDF's default language and verify the saved catalog
Admin ·
Give assistive technologies a default language for a PDF. Choose a code for the main text and keep any correct language overrides on passages that use another language.
Save the English default in a new copy
Choose Load example PDF and find en-US under Current catalog language. Enter en-GB in Language tag and choose Save language copy.
Check that Language in copy now shows en-GB. Download pdf-accessibility-trail-language.pdf. Keep the original as the source for later revisions.
Tagged North Trail sample PDFW3C technique PDF16 for the default languageBCP 47 tags for identifying languages
Check the catalog and the French passage
Reopen the edited PDF in this tool or PDF Accessibility Checker. The catalog language should be en-GB. The two pages still contain North trail access and Trail marker review.
Open the same copy in PDF Tagged Content Viewer. On Page 2 find the paragraph with ActualText Entrée du sentier. Its tag language still reads fr-CA. Use the reader to confirm how it handles the language change within the text.
Tagged North Trail sample PDFW3C technique PDF16 for the default language
Choose a code that fits the text
Use en for English when a regional distinction adds no value. Use a script subtag such as Hans in zh-Hans when the writing system matters. Choose a documented language code before saving.
Open an unsigned source for editing. Add signatures after you have checked the language copy. Save changes to paragraph-level language in the authoring source or a tool that edits individual tags.
W3C technique PDF16 for the default languageBCP 47 tags for identifying languages
Common questions
Will setting en-GB change spelling on the page?
The operation updates the catalog setting. The document's page text remains as authored.
Where can I check a language code?
Look up the primary language and subtags in the IANA Language Subtag Registry linked by BCP 47.