Skip to content

bug/right to left languages #3927

Open
Open

Description

@nizar2yas

Describe the bug
for right to left languages the output of reading a document is printed left to right,
for example instead of printing "Hello world", in arabic for example, the output print : "Dlor wolleh"

To Reproduce

from unstructured.partition.pdf import partition_pdf
elements=partition_pdf(
          filename=file_path,
          languages= languages,
          strategy="hi_res",
      )

elements_dict = [el.to_dict() for el in elements]

Expected behavior
the output text is printed right to left sentences

Activity

  1. rhajou commented on Jul 27, 2025

    @rhajou

    @nizar2yas hello, have you found a solution for that?

  2. Crystora commented on Mar 31, 2026

    @Crystora
    Contributor

    @PastelStorm @rhajou Can I pick this up? I can solve it correctly. I'd love to contribute

  3. ma7555 commented on Jul 5, 2026

    @ma7555

    @Crystora can you explain how to solve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions