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/
_______________________________________________
aspell-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/aspell-user