[FEATURE] Multilingual spellchecking

Đang mở
#3,770 7 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
desktop

Hướng nghiên cứu

Start by locating the spellchecking implementation and settings that select the current language; the issue does not name specific files or tests. Determine how the existing spellchecker obtains its language and whether settings can support additional languages. Done means words accepted in any configured language are not marked with red underlining; per-document selection is presented as an optional extension.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Type: Support

Currently, the text spellchecking works for one particular language but a document may have text in multiple languages.

Is your feature request related to a problem? Please describe.

A user may speak multiple languages and therefore write notes in multiple languages, not just one, and/or get some text document with different parts being in different languages. Currently, there are red underlinings for everything not in the one default language or having spellcheck errors. Please enable specifying additional languages so words that are correct in any of these secondary languages aren't highlighted with red error underlining.

Describe the solution you'd like

In the settings there could be an option to specify languages (up to a certain number) so words correct in any of these don't get underlined. One could also enable to specify this per-document with the configured global setting just being the default. Lots of people speak more than one language (bilingual English and German for example) and write notes not always perfectly in one language or open documents in multiple languages (e.g. the different parts written by different people or at different times or in different contexts / for different purposes).

Describe alternatives you've considered
Additional context

I don't know if some KDE spellchecking is used currently since LanguageTool and Harper are both disabled in the QOwnNotes settings. I can only configure one Interface Language for QOwnNotes and that seems to be all languages I can specify in it currently.

Output from the debug section in the settings dialog
Expand
Ngôn ngữ chính
C++
Star
5.9k
Fork
499
Merge trung bình
4 giờ 4 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pbek/QOwnNotes

Tất cả issue của pbek/QOwnNotes

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.