Fix PDF Language Tags Disappearing When Merging LibreOffice PDFs
Question details
The user needs to resolve an issue where PDF language attributes and tags disappear or change when merging LibreOffice-generated PDFs, causing accessibility problems.

- Product
- LibreOffice, Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Merging multiple LibreOffice-generated PDFs into a single file while attempting to preserve language tags for screen reader accessibility.
- Observed behavior
- Language tags and attributes in the tag structure are removed, altered, or use nonstandard codes upon merging, resulting in accessibility failures for screen readers.
Verify the document-level language settings in your original LibreOffice file by navigating to File > Properties > Advanced > Language before exporting it to PDF.
Correct Language Tags in Acrobat Before Merging
Adjust and standardize language tags manually using recognized codes prior to combining the PDFs to ensure assistive technologies can read them correctly.
LibreOffice may sometimes export PDFs with nonstandard language codes (such as 'sv-SE' instead of 'SV') or apply the language to the overall document incorrectly. It is crucial to set these correctly in the Tags tab rather than the Content tab, as the latter can disrupt screen readers.
Open your original LibreOffice PDF in Adobe Acrobat and navigate to the Tags panel to inspect the document's structure.
For entire paragraphs, right-click the block-level 'P' tag, go to Properties, and select the correct, Acrobat-recognized language abbreviation from the drop-down list.
If only a few words within a paragraph use a different language, wrap those specific words in a 'Span' tag and apply the Language attribute directly to that Span tag.
Save the corrected files, merge them into a single PDF, and immediately run a Full Accessibility Check to ensure the tags remain intact.

Merge PDFs Directly Using LibreOffice Draw
Avoid Acrobat's merge tool entirely by combining the source documents natively in LibreOffice Draw before exporting to a single PDF.
Merge PDFs Seamlessly with WPS Office
Avoid complex tagging conflicts and formatting loss by using WPS Office's dedicated PDF tools. WPS Office provides a streamlined, user-friendly way to merge, edit, and manage PDF documents effectively.
- 1. Launch WPS PDF: Open WPS Office and select the 'PDF' tab from the main home screen.
- 2. Select Merge PDF: Click on 'Merge PDF' from the top toolkit menu to open the combining interface.
- 3. Add and Arrange Files: Add your source PDF files and drag them to arrange them in the correct page order.
- 4. Merge and Save: Click the 'Merge' button to combine the files into a single, well-formatted document.

Frequently Asked Questions
Why is the exact language abbreviation important in PDFs?
Screen readers and assistive technologies rely on standard language abbreviations (like 'SV' for Swedish) to pronounce text correctly. Nonstandard codes can cause the text to be misread or trigger accessibility check failures.
Should I set the language attribute in the Content tab or Tags tab?
You should always set the language attribute under the Tags tab (e.g., on a P or Span tag). Setting it under the Content tab has been known to cause problems with certain screen reading software.
How do I handle multiple languages within a single PDF paragraph?
Wrap the foreign words in a 'Span' tag within the Tags panel, and apply the specific language attribute exclusively to that Span tag, leaving the surrounding text under the primary language tag.
What should I do immediately after merging tagged PDFs?
Always run a full accessibility check using your PDF editor's built-in Accessibility Checker tool to verify that all tags, structure, and language attributes have remained intact during the merge process.




