Hello MAU,

>> 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?  

No, there was no option for that. Only a list of languages, and,
funny enough, "german" three times. But I tested all of them, and
none worked.

>> 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.

> 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.

That's right, that's the way I did it.

> 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.

Yes, that is well possible. The '#LID 0' does, however, not appear in
my list of words.

>> 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. 


>> So I looked at the american english dictionary and found in the first
>> line:
>
>> #LID 0
>
> I forgot to ask, which American English dictionary? Because I have:
>
> #LID 1033 1 89 (in accent.tlx)
> #LID 24941 (in correct,tlx)
> #LID 1033 1 1017 (in Ssceam.tlx)
> #LID 24941 (in userdic.tlx)

Neither of them...alongside with the new german dic I also created an
"American English" one, and when I looked into that file it had the
'#LID 0' in it.

So to me it seems like this is a miracle that only the developers can
work out. I don't even think we can file a useful bug report, because
what we did and what worked does not follow a logic principle.

Maybe let's file a report for the greyed out buttons, and then we
check if these are working correctly and creating the right registry
keys. Can you do this? You are much quicker as I am I guess...

Thanks again!

-- 
Martin
TB! 4.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

Reply via email to