Red Hat Bugzilla – Bug 97778
aspell looks for pt.dat when given --lang pt_BR
Last modified: 2007-04-18 12:54:56 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030613
Description of problem:
My aspell-pt_BR-3.0 package used to build using the aspell file using a command
line like this:
... create pt_BR.dat
LC_CTYPE=pt_BR aspell --lang pt_BR --data-dir=. create master ./pt_BR < wordlist
now this fails, because it attemts to search for pt.dat, not pt_BR.dat. Is this
right? Anyway, if pt.dat does not exist, it says:
Error: The language "" is not known. This is probably becuase the file
"./pt.dat" can not be opened for reading.
Note the blank string in language name, and the typo in `becuase'.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Download the source rpm from the URL above, and try to build it.
Actual Results: Error: The language "" is not known. This is probably becuase
the file "./pt.dat" can not be opened for reading.
Expected Results: /me thinks it should use the language I specified, and not
some derivation thereof, no?
It seems that current aspell always just takes the first two letters of the
--lang argument - not sure if this is a bug or a feature.
That's definitely a bug (that I can't seem to reproduce yet). In addition to
ISO-639/ISO-3166 pairs, it should also accept any of the defined "aliases" for a
Adrian, do you mean you are unable to duplicate the problem by rpmbuilding the
SRPM I listed in the bug's URL? I get the same problem on Severn.
this seems to be all fixed with the aspell-pt package-- the BR and PT
are separated, and aspell-pt_br is deprecated.