Abdelrazak Younes wrote:

> OK, thanks for the explanation. I am not pretending that I will solve
> everything, don't be afraid ;-). We do have an internal in source
> gettext. Couldn't we just support that and live all other version aside?

I'd rather like to get rid of that instead of completely relying on it and
the need to keep it up to date.

> Maybe this would simplify the code a bit, dunno.

Yes, it would, but it would not make it faster unless we modify it to cache
multiple languages. The latter would create even more maintenance problems
than we already have (out internal gettext is almost always out of date,
and I remember that some updates caused problems on some platforms).

> One other thing that may be changed also is the way we load po files. It
> seems that there is some caching done inside gettext but it is disabled
> as soon as we change the po file. This is explained here:
> 
> http://www.gnu.org/software/gettext/manual/html_mono/gettext.html#SEC152
> 
> Maybe there's something wrong in the way we load the po files? Just
> asking to you knowledgeable people...

I have no idea. I think that basicxally Jean-Marc is right that gettext was
just not designed for frequent multiple language switching like we do.


Georg

Reply via email to