VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Dictionaries [Solved]  (Read 1722 times)

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Dictionaries [Solved]
« on: October 27, 2007, 05:27:51 am »

I'm not sure if this is a general Vector question, or whether it is specific to the 5.9 beta. At the moment, I've only got the beta installed.

Anyhow, after setting Abiword to use the UK dictionary, I get errors - Abiword complains that it cannot load the UK dictionary.

So, the question - where should I be looking for the default dictionaries, and how do I find (and load) the UK dictionary?

Thanks...

paul
« Last Edit: October 31, 2007, 09:21:43 am by toothandnail »
Logged

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: Dictionaries
« Reply #1 on: October 27, 2007, 10:32:14 am »

you can either enable the 5.9 testing repo and use slapt-get/gslapt or download it from here: http://vectorlinux.osuosl.org/veclinux-5.9/testing/libs/aspell-uk-1.1_0-noarch-1vl59.tlz
and use installpkg

HTH,
Uelsk8s
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: Dictionaries
« Reply #2 on: October 27, 2007, 10:50:10 am »

you can either enable the 5.9 testing repo and use slapt-get/gslapt or download it from here: http://vectorlinux.osuosl.org/veclinux-5.9/testing/libs/aspell-uk-1.1_0-noarch-1vl59.tlz
and use installpkg

 ;D Thanks.

I looked at that one, but the description says it Ukranian, not United Kingdom...

I thought that all the English variants were included in the main -en version, but Abiword is complaining about not being able to find it...

I found the main dictionaries in /usr/lib/aspell, but even though there are a number of en_GB files in there, Abiword doesn't seem to understand them. Is there a step I'm missing?

paul

Logged

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: Dictionaries
« Reply #3 on: October 27, 2007, 11:29:09 am »

you are correct.

aspell works and can check files from CL with the GB dictionary so I think it is a problem with abiword.
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: Dictionaries
« Reply #4 on: October 27, 2007, 01:27:53 pm »

you are correct.

aspell works and can check files from CL with the GB dictionary so I think it is a problem with abiword.

Could be. One thing I notice is that the environmental variable LANG is defaulted to en_US, even though I have locale set to europe/london.  I'm not sure where that is set - haven't found it in profile or /etc/profile.d/coreutils-dircolors.sh (which seems to be where a lot of other basics are set).

I'll have to see if I can find a sample of aspell.conf and set that up for en_GB.

paul.
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: Dictionaries
« Reply #5 on: October 27, 2007, 05:23:34 pm »

IIRC, the files are lang.csh and lang.sh at /etc/profile.d

HTH, Rodrigo.
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: Dictionaries
« Reply #6 on: October 28, 2007, 12:09:59 am »

IIRC, the files are lang.csh and lang.sh at /etc/profile.d.

Thanks Rodrigo. That's where it is. I'll edit it before the next boot...

paul.
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: Dictionaries
« Reply #7 on: October 31, 2007, 09:21:17 am »

you are correct.

aspell works and can check files from CL with the GB dictionary so I think it is a problem with abiword.

A further note to this. I did a bit of digging (found that I can use the GB dictionary under Zenwalk, just not Vector). It turns out that Abiword under Zenwalk is set to use the main dictionaries, but it uses its own dictionaries under Vector. Found and downloaded an english_GB dictionary, and it works now...

If anyone else wants languages other than US English, have a look here:

http://www.abisource.com/download/abispell.phtml

The dictionaries all seem to be in Zip format, and should be unziped into /usr/share/Abisuite-2.4/dictionary. That, combined with having LANG set to the correct language seems to do the trick..

paul.
Logged