Skip to Content

Black Friday: 70% off yearly plans, 50% off your first month. Ends Sunday 6 December.

See pricesSee prices
Lingivio
Try FreeGo to Dashboard

Why We Return an Error Instead of a Translation

A scanned Urdu document comes back from Lingivio as a clear failure, with every credit returned. It does not come back as a file that only looks translated. This page explains what happens and why.

Published

On 2026-07-25 we ran a sample set of Universal Declaration of Human Rights documents through Lingivio, in more than two dozen languages. Most were scans. All but one came back as translated files. The exception was a scanned Urdu document in Nastaliq script, which came back as a named error.

What Happens When You Upload One

We analyse the file before you approve anything. Its pages are pictures with no text you can select, so each page is read from the picture. On this script, the reader returns noise below the confidence that we require. No page gives a readable line.

The translation then fails with the error class pdf.no_text_layer. It is marked not retryable, because a second attempt would read the same picture the same way. Every credit reserved for it returns to your balance. A failed translation is never charged.

In the app you see the failed translation with the message "We found no text in this PDF, even when we read its pages as scans. Try a clearer scan, or save the PDF again from the app that made it." and a credit-history line that reads "Reserve released". There is no file to download.

Why an Error, and Not a Best Guess

We have one rule for uncertain output. For a sentence: we check every translated sentence before we write it back (numbers, currency and percent signs, codes, links and placeholders must be unchanged). A sentence that fails stays in the original language, where you can see it. For a file: if nothing in it can be read or translated safely, the translation fails and the credits return.

This scan is the second case. If you give a misread scan to an AI model, you do not get an error. You get fluent text that has nothing to do with the page. That is the worst result, because it looks finished.

We measured that risk. In an evaluation dated 2026-08-04 (a trial, not the production path), our text recognition recovered 0.0 percent of the text on the Urdu document. One of the vision models that we tried recovered a large share of it. It also produced text equal to 23.2 percent of the page's length that matched nothing printed on the page.

Why Nastaliq in Particular

Our scanned-page path uses open-source text recognition: RapidOCR for Latin and several other scripts, and Tesseract for the rest. Tesseract's Arabic-script models are trained on Naskh typefaces, the upright style of most Arabic and Persian printing. Nastaliq is the cursive, diagonal style that Urdu and Kashmiri printing prefers, and those models cannot read it. On two independent documents, the mean confidence stayed around 0.27 at every scale that we tried. A Naskh scan of the same declaration in Persian passed the same check.

It is not a resolution problem. No Nastaliq reader is available to us under a permissive licence for offline use. Until one is, the honest result is the error.

What Does Work Today

Clean scans in Latin, Cyrillic and Greek script work best. On the same 2026-07-25 sample set, scanned Hebrew, Bengali and Persian documents translated every segment that the text recognition extracted. Scanned Hindi, Nepali, Gujarati, Thai and Tamil documents translated all but a few, and the rest stayed in the source language on the page.

Those are observations about extracted segments, not a measure of accuracy. They come from one dated run with a persistent cache, so a first cold pass can do worse. Lines that the text recognition never extracted are not counted. The rendered page can still be untidy where a dense scan was fragmented.

Reading a script and writing a script are separate questions. PDF and image output can be drawn only in the scripts that our bundled fonts render, which today means Latin, Cyrillic and Greek targets. Word, Excel, PowerPoint and the text formats offer every target language that we support. The language page lists both sets.

What Support Would Need

Two things. The first is a reader for this script. The evaluation above found vision models that read the Urdu page well. But when we asked the same models for text positions on a Hindi test page, no recognised line was close enough to its real position to use. We clear a box and redraw the text inside it, so text without reliable positions would erase the wrong text.

The second is a way to pay for it. A vision-model call per page is a real cost. If we ship it, it will be a priced option that you see in the cost before you approve, not a silent default. Until both exist, the error stays, and we do not advertise Urdu.

If You Have One of These Files Today

A digital PDF, where you can select the text, is read directly and never read from the picture, so the typeface does not matter. The problem is specific to scans and photographs. Word, Excel and PowerPoint files also carry their own text. If you have only a scan, we cannot read it yet, and we prefer to say so.

All guides

Related Pages

Try It With Your Own Document

Upload a file and see the exact credit cost before anything starts.

Free credits every month · no card required

Free trial: 10 credits, once, for any file type, up to 13 pages and 50 MB per file. A scanned page counts as two.

After the trial, the Free plan translates Word (.docx), OpenDocument text (.odt), and Text (.txt) with 3 credits a month. Excel and PowerPoint need the Professional plan or higher.

Get Product News by Email

New languages and file types, translation tips and developer updates.

Subscribe

Cookies for analytics and personalised ads run only if you accept them. Cookie Policy