Results 1 to 4 of 4

Thread: Spanish aspell don't works

  1. #1
    koby is offline Active Member
    Join Date
    Aug 2006
    Posts
    40
    Rep Power
    9

    Default Spanish aspell don't works

    Hi, I did all that Wiki-Zimbra says:

    * Download the dictionary from gnu.org

    In my case: aspell-es-0.50-2.tar.bz2

    * Extract it from the tar file in a work directory
    * Set Zimbra's aspell in the path with:

    PATH=/opt/zimbra/aspell-0.60.3/bin:$PATH

    * Configure and install the dictionary according to the README

    ./configure
    make
    make install


    But I modified 2 lines of the MAKEFILE to this:

    dictdir = /opt/zimbra/aspell-0.60.3/lib/aspell-0.60
    datadir = /opt/zimbra/aspell-0.60.3/lib/aspell-0.60

    then make install:

    [root@localhost aspell-es-0.50-2]# make install
    mkdir -p /opt/zimbra/aspell-0.60.3/lib/aspell-0.60/
    cp es.rws es.multi espaņol.alias esponol.alias spanish.alias /opt/zimbra/aspell-0.60.3/lib/aspell-0.60/
    cd /opt/zimbra/aspell-0.60.3/lib/aspell-0.60/ && chmod 644 es.rws es.multi espaņol.alias esponol.alias spanish.alias
    mkdir -p /opt/zimbra/aspell-0.60.3/lib/aspell-0.60/
    cp es.dat /opt/zimbra/aspell-0.60.3/lib/aspell-0.60/
    cd /opt/zimbra/aspell-0.60.3/lib/aspell-0.60/ && chmod 644 es.dat


    * Edit the file /opt/zimbra/httpd/htdocs/aspell.php to reference the new dictionary. For example to add the french dictionary:

    $dictionary = pspell_new("en_EN");
    TO
    $dictionary = pspell_new("fr_FR");

    and here I changed it to $dictionary = pspell_new("es_ES");

    Then I try and don't works, all the words are incorrect without suggestions.
    Thanks

  2. #2
    StefanD is offline Project Contributor
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    68
    Rep Power
    9

    Default

    and here I changed it to $dictionary = pspell_new("es_ES");
    For dutch language I had to change it to: nl and not nl_NL, so maybe for the spanish try $dictionary = pspell_new("es");

  3. #3
    kowell is offline Special Member
    Join Date
    May 2006
    Posts
    118
    Rep Power
    9

    Default

    which linux distro are you using??
    what codification do you have installed in your system??

  4. #4
    koby is offline Active Member
    Join Date
    Aug 2006
    Posts
    40
    Rep Power
    9

    Default

    Codification:
    [zimbra@localhost bin]$ locale
    LANG=es_ES.UTF-8
    LC_CTYPE="es_ES.UTF-8"
    LC_NUMERIC="es_ES.UTF-8"
    LC_TIME="es_ES.UTF-8"
    LC_COLLATE="es_ES.UTF-8"
    LC_MONETARY="es_ES.UTF-8"
    LC_MESSAGES="es_ES.UTF-8"
    LC_PAPER="es_ES.UTF-8"
    LC_NAME="es_ES.UTF-8"
    LC_ADDRESS="es_ES.UTF-8"
    LC_TELEPHONE="es_ES.UTF-8"
    LC_MEASUREMENT="es_ES.UTF-8"
    LC_IDENTIFICATION="es_ES.UTF-8"
    LC_ALL=

    Distro is debian and zimbra's version:
    Release 3.1.0_GA_332.FC4_20060414123554 FC4 FOSS edition translated to Spanish

    Any suggestion?
    Last edited by koby; 08-24-2006 at 12:30 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Aspell with two languages
    By bibo in forum I18N/L10N - Translations
    Replies: 6
    Last Post: 04-09-2008, 03:49 AM
  2. Spanish translation
    By kharmander in forum I18N/L10N - Translations
    Replies: 11
    Last Post: 10-10-2006, 09:46 AM
  3. ZCS 3.0 Milestone 2 Language Files
    By KevinH in forum I18N/L10N - Translations
    Replies: 0
    Last Post: 11-14-2005, 11:17 PM
  4. Ready to help with Spanish l10n
    By gnrfan in forum I18N/L10N - Translations
    Replies: 15
    Last Post: 10-03-2005, 02:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •