Translating issue: Gettext works, IMP does not

Mike Coughlan mcoughlan@gothambroadband.com
Tue, 31 Jul 2001 14:32:25 -0400


Regarding the failed German translations on:
IMP 2.3.7
apache-ssl     1.3.19.1+1.42-
Debian Potato running under "testing"

I can get gettext to translate IMP messages on the command line, but it
still fails off the webserver in IMP.  I sent this email to the gettext
maintainer at Debian in hopes that it is an apache env. issue.

For the knowledge base, Debian does not enable languages by default - see
/etc/locale.gen for more info -  although that should not matter to HORDE.

Thank all



> -----Original Message-----
> From: Mike Coughlan [mailto:mcoughlan@gothambroadband.com]
> Sent: Tuesday, July 31, 2001 2:17 PM
> To: Santiago Vila
> Subject: RE: Bug#106697: gettext translation is not working
>
>
> Thanks for the reply.
>
> The goal is to get IMP webmail (from www.horde.org) running in German.
>
> If I set:
>  TEXTDOMAINDIR=/usr/share/horde/imp/locale/
>  LANG=de
>
> Then I get this:
> # gettext --domain=imp "none"
> keine
>
> hurray!
>
> Does this mean that I have to edit the environment of "www-data"
> to include some path, or the current directory ./?  Again, this
> worked out of the box on Red Hat Linux and FreeBSD. Do I need to
> HUP apache after locale-gen?
>
> There are going to be several components each with it's own locale.
> TEXTDOMAINDIR=/usr/share/horde/imp/locale/
> TEXTDOMAINDIR=/usr/share/horde/turba/locale/
> TEXTDOMAINDIR=/usr/share/horde/kronolith/locale/
>
> Thanks again,
>
> Mike Coughlan
>
>
> >