[imp] Translation cache?

Jan Schneider jan at horde.org
Thu Oct 28 13:15:57 PDT 2004


Zitat von Fabio Gomes <flgomes at fazenda.sp.gov.br>:

> Hi list,
>
> 	I'm getting a strange behavior of my Horde installation after update. Any
> translation made in the .po files doesn't reflect in the system.
> 	I'm using a Solaris 8 box and I compiled the .po with:
>
> 	msgfmt -v -o ../locale/pt_BR/LC_MESSAGES/horde.mo pt_BR.po
>
> 	The weird thing is that the same command still working with may horde 2.0
> installation. It seems the gettext is caching the translation, or something
> about that.

Exactly, this how gettext works.

> 	I created a langtest.php (language test) as suggested in docs/TRANSLATION.
> That worked fine and the updates was displayed. Invoking gettext in the
> command line also works:
>
> 	# export TEXTDOMAINDIR=/usr/local/apache/htdocs/horde-2.2.7/locale
> 	# gettext horde "Mail"
> 	Webmail
>
> 	The above shows my update. I changed "Mail" translation from "Correio" to
> "Webmail". The Apache (webserver) was restarted to see if anything changes.
> Nothing changed.

That should have worked. Other than that I don't know what to tell you.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the imp mailing list