bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext problem - translation fails


From: Petr Vandrovec
Subject: Re: gettext problem - translation fails
Date: Tue, 1 Apr 2003 12:00:06 +0100

On  1 Apr 03 at 9:59, Eneko Lacunza wrote:
> > change domain name or locale path in your php code after each update
> > of .mo files, or you have to restart apache.
> 
>     This is quite strange. I don't have any knowledge about how glibc is
> coded, but it seems that after "some time", the problem stabilizes and
> all instances of apache translate correctly. Maybe it is that all "old"
> instances crashed and new ones have the new .mo file.

Or admin has set up Apache to run only limited number of requests in
each child. As your .mo files are loaded after server fork, it fixes problem
too. Only problem is that for some time you sometime get page with
new translation, and sometime with old.
 
>     Although I don't know the problems involved here, I would suggest
> trying to fix this in new glibc versions, maybe transparently, or maybe
> with a simple function call (i.e. domain_refresh) that would force a
> fresh load of the text domain.

It would be nice. Long running processes are more and more common.
                                                            Petr Vandrovec
                                                            





reply via email to

[Prev in Thread] Current Thread [Next in Thread]