aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [aspell] Misc comments/suggestions on Aspell


From: Kevin Atkinson
Subject: Re: [aspell] Misc comments/suggestions on Aspell
Date: Sat, 18 Nov 2000 18:14:27 -0500 (EST)

On Fri, 17 Nov 2000, Kenneth Rohde Christiansen wrote:

> > In order to do that I would need a mapping from the setting in the LANG
> > to
> > a dictionary.  I have 0 experience with this sort of thing.  Exactly what
> > format can the LANG variable appear in.
> 
> it appears like for instance "da" for danish
> "de" for german
> "es" for spanish, etc
> 
> though sometimes there is a prefix like "es_MX" for mexican spanish
> and "en_US" for american, etc

OK.  From what other have told me this is the same format the Pspell
language-tag variable uses.  I am therefore going to use the same process
(and code) Pspell uses to determine which dictionary to use based on the
LANG setting.  If I can not find a suitable dictionary I will use the
default one.

> > > Also, I would like to see aspell localised...so people will get danish
> > > messages when running on a Danish enables system.
> > 
> > I will consider adding it but once again I would not know what to
> > do.  Also please be aware that I still consider Aspell in an alpha state
> > and offer no guarantee to the stability of the the message strings.
> 
> This is very easy if autoconf is used (I cannot remember if you did)
> then it is just defining some macros, making the po dir, plus
> adding some lines to the c files and marking strings with _( )
> like _("string to translate")

I will be a lot more willing to do this if someone would submit a patch or
point me to some no nonsense instructions on what I need to do.  The
gettext manual doesn't seam to have any step-by-step instructions on what
needs to be done.

If you are interesting in playing with Aspell you will need to install the
cvs version (non multi-lib) of libtool.  You should also use the CVS
version (MAIN branch, NOT HEAD) as I have made some changes which might
make the translation process easier...

--- 
Kevin Atkinson
kevina at users sourceforge net
http://metalab.unc.edu/kevina/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]