Subject: | en_US assumed default in Text::Aspell |
Date: | Wed, 2 May 2007 19:20:53 +0100 |
To: | bug-Text-Aspell [...] rt.cpan.org |
From: | Paul Weaver <iso [...] isorox.co.uk> |
After downloading from cpan, make test failed with the usual
# Failed test (t/05-core.t at line 33)
# got: 'en_GB'
# expected: 'en_US'
# Really need the en_US dictionary installed!
However I did have en_US installed, it's just that en_GB is the default.
# aspell dicts
en
en-variant_0
en-variant_1
en-variant_2
en-w_accents
en-wo_accents
en_CA
en_CA-w_accents
en_CA-wo_accents
en_GB
en_GB-ise
en_GB-ise-w_accents
en_GB-ise-wo_accents
en_GB-ize
en_GB-ize-w_accents
en_GB-ize-wo_accents
en_GB-w_accents
en_GB-wo_accents
en_US
en_US-w_accents
en_US-wo_accents
Modified 05-core.t to force setting the language to en_US
$speller->set_option('lang', 'en_US');
my $language = $speller->get_option('lang');
And that passed the test and installed fine (after updating the checksums)
Seems like a minor change, and I have a feeling a lot of people are confused by this