KDP Formatting

KDP error: Right-to-left language flag missing in OPF

TL;DR

Books in Arabic, Hebrew, Persian, Urdu, or Yiddish need their EPUB OPF to declare right-to-left page progression so Kindle pages turn the correct direction. Without it, the book opens 'backwards' from a reader's perspective. Add `page-progression-direction='rtl'` to the spine element and re-validate. The free /audit/kdp-readiness/ Score detects RTL languages and warns when the OPF flag is missing.

Last reviewed by Robert Prime — May 2026

Quick Answer: Your Arabic, Hebrew, Urdu, or other right-to-left language Kindle file is missing the page-progression-direction flag. Add <spine page-progression-direction="rtl"> to your OPF file's spine element, then re-package the EPUB.

Full reasoning, why-it-happens, and the exact fix below.

UK note: UK-specific considerations apply — ISBN purchases go through Nielsen (not Bowker), VAT rules differ from the US (print books are zero-rated; ebooks carry 20% VAT), and GDPR applies to any email/customer data. See our UK self-publishing guides for specifics.

We see this come through our formatting queue at publishing.co.uk regularly, so the patterns and fixes here are based on what actually works at upload.

What this error means

EPUB defines page progression direction in the OPF's <spine> element. By default, pages progress left-to-right (Western convention). For right-to-left languages — Arabic, Hebrew, Persian (Farsi), Urdu, Yiddish — the OPF must declare page-progression-direction="rtl" or readers swipe the wrong way and the book appears to be in reverse order.

When KDP detects a RTL language in metadata or body content but no RTL flag in the spine, the rejection email reads "Your book's language requires right-to-left page progression that is not declared in the OPF."

This rule also applies to Manga-style comics in Japanese, which are conventionally read right-to-left even though Japanese is written top-to-bottom or left-to-right depending on context.

📎 Source: KDP's authoritative documentation on this rule is at KDP's RTL Kindle language guidance.

Why it happens

Translators or authors using Western-default tools. Vellum all default to left-to-right. They produce the EPUB without ever asking about RTL.

Calibre conversion doesn't auto-detect RTL languages. The output EPUB defaults to LTR regardless of language.

InDesign without the Arabic/Hebrew edition. Standard InDesign doesn't handle RTL well. You need InDesign ME (Middle East edition) or the World-Ready Composer.

Online EPUB converters rarely flag RTL correctly.

Hand-built EPUB in Sigil without explicit RTL setup — easy to miss because the visual order in Sigil's edit panel matches what you see in the source.

Mixed-direction content (a book with English chapters and Arabic chapters) is especially error-prone — needs careful per-section handling.

The fix

Step 1: Confirm your book's primary language. The book's main language determines page progression.

Step 2: Open your EPUB in Sigil. Find content.opf.

Step 3: In the <package> opening tag, add or confirm the dir attribute:

<package xmlns="http://www.idpf.org/2007/opf" version="3.0" xml:lang="ar" dir="rtl">

Step 4: In <spine>, add page-progression-direction:

<spine page-progression-direction="rtl">
  <itemref idref="cover"/>
  ...
</spine>

Step 5: In <metadata>, confirm <dc:language> has the right language code:

  • Arabic: ar
  • Hebrew: he
  • Persian / Farsi: fa
  • Urdu: ur
  • Yiddish: yi

For Manga in Japanese:

<dc:language>ja</dc:language>

Plus page-progression-direction="rtl" even though the language code is ja. Japanese RTL is conventional for manga, not a language property.

Step 6: In each XHTML page, set the body direction:

<html xmlns="http://www.w3.org/1999/xhtml" lang="ar" dir="rtl">
  <body dir="rtl">

Step 7: For mixed-direction content (a paragraph of Latin text inside an Arabic book), wrap the Latin section:

<span dir="ltr">English text in the middle</span>

Step 8: Save the EPUB and run EPUBCheck. It will validate the RTL setup.

Step 9: Upload to KDP. Use the Online Previewer to confirm pages turn from left edge to right edge (RTL behaviour) — swiping right on the screen reveals the next page.

How to pre-flight it

Our free KDP Readiness Score detects the language declared in your EPUB metadata, checks for RTL languages, and reports whether the spine has the correct page-progression-direction attribute. Plus 30+ other KDP rules.

FAQ

Does KDP support Arabic / Hebrew books for sale? Yes — KDP supports many languages including Arabic and Hebrew. Sale availability depends on the marketplace and the language.

What about Chinese — is it RTL? Modern Simplified Chinese is normally written LTR like English. Traditional Chinese in vertical layout would be RTL but is rare in ebooks. Default to LTR unless your specific content needs otherwise.

Will the cover flip too? On most Kindle apps, yes — the front cover appears on the right when in RTL mode, matching the convention of opening a book "from the back" by Western standards.

Can I have an RTL book with English subtitle on the cover? Yes. The cover is a single image; direction doesn't apply to it. Just make sure the title text inside the book is correctly RTL.

Frequently asked questions

Does this affect paperback editions of RTL books?

Paperbacks don't have a 'page progression direction' flag — KDP infers it from the language. The flag is Kindle-specific.

How do I check whether my EPUB has the right-to-left flag set?

Open the EPUB's content.opf (it's a zip — rename .epub to .zip and look inside). Look for . RTL books (Arabic, Hebrew, manga panels) need it set; LTR books (English, almost everything else) shouldn't have it.

Will publishing.co.uk handle RTL language EPUB builds?

Yes — RTL EPUBs require the page-progression flag plus careful handling of mixed-direction text (English quotes inside Arabic body, for example). We've built RTL EPUBs for Arabic non-fiction and bilingual children's books.

Does the RTL flag affect how the book displays on every Kindle device?

Yes — every Kindle device respects the flag. RTL books read from right-to-left page-turn (so the cover is on what feels like the "back" of the file to LTR readers). Missing the flag means the book reads backwards on Kindle.

If you got the rejection above, you may also want to check these related issues — they tend to cluster:

Full list: KDP formatting errors hub · KDP rejection fixes hub · KDP rejected my book


About this guide

This page is part of a series of UK-focused KDP rejection guides at publishing.co.uk, each documenting a specific reason KDP can reject a print or Kindle file and the exact fix. Written by Robert Prime — founder of publishing.co.uk, co-runs the LoveReading network, and has overseen 500+ KDP submissions through formatting work in this category (kindle).

If you'd rather have someone else handle this and the other 35 issues KDP checks for, our formatting service is from £69 with a 3-day turnaround and a 100% KDP-acceptance guarantee.

Run a free KDP Readiness Score on your file before you upload — catches this issue and 35 others, in 60 seconds.

External references

Free · 60 seconds · No payment

Don't risk a KDP rejection — score your file first.

Drop your DOCX, PDF or EPUB and we run the same 30+ checks Amazon does — margins, gutter, image DPI, font embedding, ToC, blank pages, ISBN match, bleed — and score it /100 with the exact rejection risks flagged.

Score my file →
Robert Prime

Robert Prime

Robert Prime is a best-selling self-published author, veteran eCommerce strategist, and the founder of publishing.co.uk.

Robert Prime — Founder of publishing.co.uk

About the Author

Robert Prime

Robert Prime is the founder of publishing.co.uk and a co-owner of LoveReading.co.uk. A Forbes Business Council member with 25+ years in eCommerce, he writes about Amazon KDP strategy, scaling indie author businesses, and the commercial side of self-publishing.

Reading about KDP? Score your file free in 60 seconds. Score my file →