Hello Martin, > ...that beer deal still active? ;-)
Of course it is! But now I'm asking for some peanuts or potato chips along with it ;-) > The dictionary appeared (strangely enough as "Language: any" beside > the select box) in 3.99. Yes, I have seen that too for non English languages. > So I had a look at your registry settings (thanks for sending those > along) and noticing that while your settings had a key with the > correct locale id for each language ( 1034 for Spanish-Spain, 1033 > for English-United States) the registry key my file was registered in > had a key of "7", obviously not a valid locale. Did you have CSAPI German selected as the speller language when you created the user dictionary? > What finally made it work was something you mentioned in one of your > earlier mails about the subject, namely "some code in the first line > of the .dic file". So I looked at the american english dictionary and > found in the first line: > > #LID 0 > > I added this to my CSAPI_DE_UD.dic and voilĂ ! It works! a valid locale. When I wrote about "some code in the first line of the .dic file" was in my <mid:[EMAIL PROTECTED]> with Subject "CSAPI user dictionaries not available - my workaround" in which wrote: ,----- [ ] | - I have added Hunspell dictionaries for both languages. | - Since I don't want to use both CSAPI and Hunspell dictionaries for | the same language, specially for Spanish, I have edited the *.dic files | and deleted everything but the first line (some numeric code). | - Via Spell Checker/Dictionaries, I selected the Hunspell *.udc user | dictionaries and Imported the corresponding CSAPI one. | - And it works!. The CSAPI dictionary along with Hunspell user | dictionary are used for spell checking. `----- And the 'numeric codes' (not alphanumeric, as #LID 0 is) which I didn't specify then were 71934 for the Spanish dictionary and 46280 for the British English one. None of my CSAPI user dictionaries include any numeric or alphanumeric code in the first line, they are just a plain text list of words, one per line. What I am guessing happened to you is that you started with a completely empty user dictionary while I did Import my old user dictionaries right after creating the new ones. Again, my guess is that if right after creating the dictionary you had added a first word from the same dialog, it would have worked. I think that the '#LID 0' is just taken as the first word in the dictionary and it is probably displayed as such if you do a Spell Checker/Dictionaries and select your CSAPI German one. > So I think it's even more easy to > > - create a textfile with the line "#LID 0" in it Yes, it seems easier but with the 'risk' of having to create several Registry keys manually. And also, "#LID 0" is not needed, just one (any) word that you want to be in your user dictionary. -- Best regards, Miguel A. Urech (El Escorial - Spain) Using The Bat! v4.0.14.3 on Windows XP 5.1 Service Pack 2 ________________________________________________________ Current beta is 4.0.14.3 | 'Using TBBETA' information: http://www.silverstones.com/thebat/TBUDLInfo.html

