Skip to content

PDF viewer translates only one line instead of full sentences #275

@mrk67422

Description

@mrk67422

Hi, I would like to report an issue with sentence translation inside the built-in PDF viewer.

When hovering over text in a PDF, MouseTooltipTranslator translates only the current line. If a sentence continues in the next line, the translation stops at the line break instead of covering the full sentence up to the period.

This happens across many different PDFs.

Steps to reproduce

Open any PDF in the MTT internal viewer

Hover over a sentence that spans more than one line

MTT translates only the current line

Expected behavior

Translate the entire sentence, even if it spans multiple lines.

Environment

Chrome

Windows 11

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions