>>Date: Tue, 9 Dec 2003 08:15:41 +0100 >>To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >>Subject: Re: Problem with language selection >>From: Günter Milde <[EMAIL PROTECTED]> >> >>Paul Smith wrote: >>> >I am typing a document and when I try to spell check it, LyX tries to do >>> >it using "German (new spelling)". This LyX behaviour is most strange >>> >since I have selected French as the language of the document (in >>> >Layout-->Document). Any hints? >>> >>> I have myself solved the problem. I am posting the solution as it may be >>> useful for someone: I selected the whole text and >>> Layout-->Character-->Language, selecting the appropriate idiom. >> >>IMHO, the spellchecker interface is still incomplete. Just tested on lyx-qt >>1.3.3.It tries to call ispell with the language set in >>Layout>Document>Language, but this fails e.g. when my default is German with >>inputencoding (latin-1) and the document is in English. >>I had to change the settings in Edit>Preferences>Language>Ispell to solve >>this (and it did not work for still unknown reasons). >> >>We need to enhance the Ispell preferences GUI to provide settings for >>different languages. Besides the inputencoding, also the private dictionary >>is usually language dependend.
Another way is to alias the dictionary names, either with a link on the .aff file (with ispell) or by creating a .alias file in .../lib/aspell (version 0.50 has normalized dictionary names and provide an alias mechanism). -- Jean-Pierre