[FEATURE] Multilingual spellchecking

Aperta
#3,770 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
C++
Stelle
5.9k
Fork
499
Merge medio
4h 4m
PR unite (30g)
3

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pbek/QOwnNotes

Tutte le issue di pbek/QOwnNotes

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.