Re: [PHPTAL] Re: Changing PHPTAL i18n compilation

2010-04-12 Thread Robert Goldsmith
Hello :) Ah, ok, I was not aware of the behaviour of gettext as an extension for php running as an apache mod in an environment where php is only serving a single dedicated site. I can't imagine you'd possibly ever want php / apache to load in all mo files for every one of maybe 1000 sites that

Re: [PHPTAL] Re: Changing PHPTAL i18n compilation

2010-04-12 Thread Robert Goldsmith
> Gettext translation being already loaded in memory, I suppose there's not much > difference calling gettext method rather than fetching variables from memcache > or other shared memory system. I'm not sure why you would assume the gettext translation would already be in memory - the mo file wil

Re: [PHPTAL] Re: Changing PHPTAL i18n compilation

2010-04-10 Thread Laurent Bedubourg
Hi list, A few years ago I wrote some C++ tools to extract strings from templates, generate .po files, merge .po files and build static templates using these po files Everything worked like a charm and I still use a fork of this work to handle some of my haxe templates internationalization (witho