Red Hat Bugzilla – Bug 103145
aspell defaults to non-existent ja_JP dict in ja locale
Last modified: 2007-04-18 12:57:10 EDT
Description of problem:
When one runs aspell in a CJK locale, it defaults to a dictionary
for that locale, but no aspell dictionaries exist for CJK.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. LANG=ja_JP aspell -l
Error: No word lists can be found for the language "ja_JP".
Defaulting to English when no native dictionary available.
I think this changed from aspell-0.33.
aspell-0.3 and 0.50 are completely different, almost total rewrites. There are
some "compatibility interfaces", however.
The searching for the ja_JP dictionary when in a JP locale is by-design. I can
think of cases where you would not want aspell to fallback to a certain language
is a dictionary exists.
For example, a user running in a locale for a particular dialect of English
would not want aspell to quietly fall back to U.S. English if his preferred
dictionary was not available for one reason or another.
How about falling back for CJK then?
I don't know of any aspell dictionaries for CJK currently.
Does aspell support languages without spaces between words
like Japanese? Perhaps not?
If it did, I wonder if it would be possible to make a spelling
dictionary for Japanese?
No, it doesn't.
So, then that takes me back to my suggestion:
> How about falling back [to English] for CJK [locale] then?
In the next emacs and xemacs builds I'm defaulting the ispell
dictionary to english for CJK locale.
Defering to FC3, which will include the UTF-8 capable aspell.