#306 automatic dictionary selection

None
open
nobody
None
3
2012-11-18
2012-07-13
Anonymous
No

When working with documents that are typesetted with different languages, one has to switch manually to the appropriate dictionary. I think it would be nice, if TexStudio scans the document for the lagnuage that is set in the babel package options or in the document class options and switch the language automatically.

Discussion

  • You can put something like

    % !TeX spellcheck = de_DE

    at the beginning of the document to set the language.

    On 07/13/2012 09:27 AM, SourceForge.net wrote:

    Feature Requests

     
  • Ede_123
    Ede_123
    2012-07-20

    Great, this simplifies working with documents with different language a lot!

    Only an optional suggestion (current implementation is fine, no change needed necessarily):
    Maybe you could automatically detect the documents language based on it's babel setting?

     
  • Tim Hoffmann
    Tim Hoffmann
    2012-07-21

    Considering detection based on babel as a fallback if there is no explicit %TeX spellcheck setting.

    Note: %TeX spellcheck will always be supported. In a later version we might support different languages within one file. Then this tag could be used to allow local changes of the spellchecker.

     
  • In a later version we might support different languages within one file.

    And one day even a different languages depending on arbitrary latex
    structures

    E.g. in one text that is typesetted to german/english I have this
    construct: \transl{deutsche version}{english version}

    On 07/21/2012 12:19 PM, SourceForge.net wrote:

    Feature Requests

     
    • status: open --> closed
    • milestone: -->
     
  • Tim Hoffmann
    Tim Hoffmann
    2012-11-18

    • status: closed --> open

    recheck if this is possible later in QCE3. The request in itself is reasonable.

     
    Last edit: Tim Hoffmann 2012-11-18