Hello MAU,

First of all let me say how much I appreciate your efforts and time
you use to help me. Ritlabs and this list can count themselves lucky
to have someone like you on the messageboard. You've helped me so many
times already...that beer deal still active? ;-)

> Yes, but it may not be straight forward (I'll explain why), let's see if
> I can lead you to it.

Your explanation was absolutely perfect, and while it did not work
here it surely pointed me into the right direction. Heres what I did:

I (as suggested by you) keep older TB versions, so it was no problem
to return to 3.99.29 and start the dialog, select "New File", enter
the filename, close the dialog.

The dictionary appeared (strangely enough as "Language: any" beside
the select box) in 3.99. But it did not work: it got lost when I
reopened 3.99, and was not available in 4.0. The dic file was empty
and I could not add words to it, no way.

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.

So I changed it to 1031 (German - Germany) but still no luck.

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!


So I think it's even more easy to

- create a textfile with the line "#LID 0" in it

- create a registry key under
  [HKEY_CURRENT_USER\Software\RIT\The Bat!\CommonSpeller
  with the locale ID for the desired language (see
  http://msdn2.microsoft.com/en-us/library/0h88fahh.aspx for those)

- add a REG_DWORD (DWORD Value) named "count" in it, set the value to 1

- add a REG_SZ (String Value) in it named "File #1" with the path to
  the file created in step 1.

Hm, not really easy. But for me that worked...

So thanks again for helping. Hope my solution helps someone else, too.

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