Bug 148571 - Spell check multiple language at the same time
Summary: Spell check multiple language at the same time
Status: RESOLVED DUPLICATE of bug 138502
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-13 14:13 UTC by chris
Modified: 2022-08-11 03:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chris 2022-04-13 14:13:51 UTC
Right now one can only spell check text in different languages only by selecting the text and setting the language. This is impractical for people writing in one language and using some English terms for example. 

In emacs, loading multiple dictionaries can be done in just a few lines of the configuration file:
'''(with-eval-after-load "ispell"
  (setq ispell-program-name "hunspell")
  (setq ispell-dictionary "el_GR,en_GB,es_ES")
  ;; ispell-set-spellchecker-params has to be called
  ;; before ispell-hunspell-add-multi-dic will work
  (ispell-set-spellchecker-params)
  (ispell-hunspell-add-multi-dic "el_GR,en_GB,es_ES"))
'''
Comment 1 chris 2022-04-13 14:16:36 UTC
I pressed "enter" and it was submitted :(. Obviously there's no markdown formatting so disregard my '''.

I wanted to add that chromium added automatic spell detection in 2015 and its code can be found here https://source.chromium.org/chromium/chromium/src/+/main:components/spellcheck/ (I think). As it is written in c++ like libreoffice I thought it could be of some value to the developers.
Comment 2 Tristan Miller 2022-08-10 11:03:49 UTC
Related to (but *not* a duplicate of) Bug 91766, which is about automatically detecting the languages used in a document and setting the appropriate spell-checker for the respective passages.

This enhancement should be much easier to implement as it relies on the user manually specifying the languages used in a document.  I'd love to see this as I often write bilingual documents (for second language learning, etc.) and don't want to be bothered to manually mark up individual words, sentences, etc. as being one language or the other.
Comment 3 Mike Kaganski 2022-08-10 11:37:51 UTC
(In reply to Tristan Miller from comment #2)
> Related to (but *not* a duplicate of) Bug 91766

Basically, a dupe of bug 138502.
Comment 4 Mike Kaganski 2022-08-10 11:39:10 UTC
Or of bug 133117.
Comment 5 Tristan Miller 2022-08-10 11:57:43 UTC
(In reply to Mike Kaganski from comment #4)
> Or of bug 133117.

No, Bug 133117 is basically the same as Bug 91766.  But I think you're right that the current bug is a duplicate of Bug 138502, so I will boldly mark it as such (even though I disagree with its closure as WONTFIX).

*** This bug has been marked as a duplicate of bug 138502 ***
Comment 6 Mike Kaganski 2022-08-10 12:18:57 UTC Comment hidden (spam)
Comment 7 Mike Kaganski 2022-08-10 12:40:44 UTC Comment hidden (spam)