https://bugs.kde.org/show_bug.cgi?id=525492

            Bug ID: 525492
           Summary: "chi_sim" OCR language labeled as "American English"
    Classification: Applications
           Product: Skanpage
      Version First 26.08.1
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
In Skanpage (at least, the Flatpak version), when exporting a PDF and looking
at the list of languages that can be used for OCR, "chi_sim" appears to be
labeled "American English".

STEPS TO REPRODUCE
1. Run Skanpage
2. Scan anything
3. Click Export PDF
4. Look at the list of languages underneath "Optical Character Recognition"

OBSERVED RESULT
One of the languages is called "American English [chi_sim]".

EXPECTED RESULT
One of the languages is called "Chinese (Simplified) [chi_sim]", or more
likely, the native version of that.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20260908
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
Kernel Version: 7.2.3-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I think this is probably because "chi_sim" is not a valid language code for
QLocale (blame Tesseract). Maybe you can special-case it, and any other
non-standard codes Tesseract uses.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to