Apache OpenOffice (AOO) Bugzilla – Issue 1992
No spell checking in Chinese version
Last modified: 2002-11-07 14:31:29 UTC
The spell checker won't check the English content inside the Chinese version.
DL->JP: I think it's your task
Thomas, would you please have a look on it?
I assume you have used a StarOffice beta version since ther is no chinese version of OpenOffice... I checked the problem with a RedFlag Linux, a chinese simplified current version of StarOffice (SRC641) and the respective locale settings. I could not reproduce the problem. I typed in a small english text with some errors and everthing worked fine, including the proposals for the misspelled words. Please check if the spelling support for the language is enabled. To do this open the "Tools / Options - Language Settings - Writing Aids" dialog and press the topmost "Edit" button. In the "Edit Modules" dialog be sure that for the languages "English (US)" and "English (UK)" the entry named "StarOffice (Default)" under the point "Spelling" is checked. Also be sure that the whole english text has the correct language attribute (see character dialog "Format / Character").
> I assume you have used a StarOffice beta version since ther is no > chinese version of OpenOffice... No, I'm using a Chinese version compiled by myself. Source code used was 638C. > Please check if the spelling support for the language is enabled. > To do this open the "Tools / Options - Language Settings - Writing > Aids" dialog and press the topmost "Edit" button. > In the "Edit Modules" dialog be sure that for the languages "English > (US)" and "English (UK)" the entry named "StarOffice (Default)" under > the point "Spelling" is checked. Checked. > Also be sure that the whole english text has the correct language > attribute (see character dialog "Format / Character"). By making this change, red curves are located under every words, including those correctly spelled ones. Before such change, the language setting of the Western Font is empty. > I checked the problem with a RedFlag Linux, a chinese simplified > current version of StarOffice (SRC641) and the respective locale > settings. > I could not reproduce the problem. I typed in a small english text > with some errors and everthing worked fine, including the proposals > for the misspelled words. So, maybe it's solved in 641? Thanks a lot for your help.
The following error were shown on the console: -- Hash Manager Error : 1 Error - could not open affix description file Failure loading aff file -- But I guess the dictionary is present: ./share/wordbook/english: total 4384 -rw-r--r-- 1 root root 1809 Nov 5 10:59 en_US.aff -rw-r--r-- 1 root root 667442 Nov 5 10:59 en_US.dic -rw-r--r-- 1 root root 3284160 Nov 5 10:59 th_en_US.dat -rw-r--r-- 1 root root 517205 Nov 5 10:59 th_en_US.idx Any idea?
Finally, I figured out why the dictionary cannot be found. I've copied all the files in ./share/wordbook/english to ./share/wordbook/chinese_traditional, and then things work. Any idea?
Setting the correct language attribute for the text is necessary for spellcheking to work! Since you get the red drawings under the text (independent of if the results are correct or not) means that the text was spellchecked by the program. Since you indeed do use OpenOffice and the spellchecker by Kevin Hendricks you should ask him (khendricks@ivey.uwo.ca) about the wrong results or simply post your question to <dev@sw.openoffice.org> (he usually reads this group). Also the bug you listed hints a problem in his spellchecker, or maybe your installation (pathes OK?). Ask Kevin if you need to set some environment variables or sth like that. If Kevin can help you, it will work in your 638 version too. Greetings, Thomas
> Since you indeed do use OpenOffice and the spellchecker by Kevin > Hendricks you should ask him (khendricks@ivey.uwo.ca) about the wrong > results or simply post your question to <dev@sw.openoffice.org> (he > usually reads this group). I guess the problem might not be in the spellchecker, since by relocating the dictionary files, everything work. So, maybe OpenOffice passes the directory wrongly to the spell checker? > Also the bug you listed hints a problem in his spellchecker, or maybe > your installation (pathes OK?). Ask Kevin if you need to set some > environment variables or sth like that. Thanks for your information.
Hi, Yes, this is an OOo install problem in Oo638. For OO641C and later, the installation point for dictionaries has changed to user/wordbook/ (no extra language directory added). So for the next release after OO641C, everything should be fixed. Kevin
Should work with OpenOffice 1.0.1
Yes, it's solved, many many thanks!