Re: commit: select language dialog box shows available spell checker

From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Mon Oct 21 2002 - 22:05:07 EDT

  • Next message: Andrew Dunbar: "Re: Selecting the right locale under window"

     --- Gabriel Gerhardsson <mr.g@home.se> wrote: > On
    Mon, 2002-10-21 at 02:21, Andrew Dunbar wrote:
    > > --- phearbear <phearbear@home.se> wrote:
    > > > Andrew Dunbar wrote:
    > > > > --- Jordi Mas <jmas@softcatala.org> wrote:
    > > > >
    > > > >>Hello guys,
    > > > >>
    > > > >>I have made a couple of changes to make the
    > > > >>Windows Language Selection dialog box to show
    > > > >>the spell checker icon when there is a spell
    > > > >>checker for that language available.
    > > >
    > > > >>For those interested in add this feature to
    > > > >>other platforms, you can find
    > > > >>getAvailableDictionaries() in
    > > > >>XAP_Dialog_Language that will return a vector
    > > > >>with the available dictionaries.
    > > >
    > > >
    > > > I have a 'small' feature request, since we have
    > > > the automatic dictionary downloading using
    > > > libcurl on some builds, how about having a
    > > > additional icon if a language is not installed,
    > > > but it is availible for downloading?
    > >
    > > I was just thinking about this too. Or something
    > > like it. How about showing a disabled/ghosted
    > > version of the icon when a dictionary exists but
    > > is not currently installed?
    >
    > Right now the list of available dictionaries is
    > downloaded from www.abisource.com when needed, so
    > that information isn't available to us before we do
    > that.

    That can't be right. The information for ispell used
    to be in ispell_checker.cpp and Dom recently moved it
    out into a separate XML file. This is all the infor-
    mation we need. I think it's much more useful to show
    an icon if a dicitonary *exists* rather than being
    available on some internet server. This is usually
    going to be the same for both anyway and we then don't
    have to make the broken assumption that everybody
    using AbiWord has a full-time internet connection.

    > When that list have been downloaded (during a
    > dictionary download) it's cached in the abi $HOME
    > directory, so then we're free to use it (of course,
    > it may not be totally accurate, not being the latest
    > version and all). A simple workaround would be a
    > menu-option somewhere "Download updated dictionary-
    > list".

    I'd recommend putting the focus on "supported" rather
    than "downloadable". Otherwise an icon alone isn't
    enough and is completely pointless for non-internet-
    connect AbiWord users.

    Andrew.

    > Take care
    > /Gabriel
    >

    =====
    http://linguaphile.sourceforge.net/cgi-bin/translator.pl http://www.abisource.com

    __________________________________________________
    Do You Yahoo!?
    Everything you'll ever need on one web page
    from News and Sport to Email and Music Charts
    http://uk.my.yahoo.com



    This archive was generated by hypermail 2.1.4 : Mon Oct 21 2002 - 22:12:33 EDT