[FEATURE] Multilingual spellchecking

Abierto
#3,770 7 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
C++
Estrellas
5.9k
Forks
499
Merge medio
4 h 4 min
PR fusionados (30 d)
3

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pbek/QOwnNotes

Todos los issues de pbek/QOwnNotes

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.