Do you have any sort of page output caching? Robert ---- Robert Goldsmith rgoldsm...@names.co.uk
On 2 Nov 2011, at 12:30, Ježísheck wrote: > Hi fellow PHPTALers! > > I'm experiencing strange thing with translations. > I have a simple template index.pt: > > <metal:page metal:use-macro="main_template.pt/page"> > <metal:content metal:fill-slot="content"> > > <h1 i18n:translate="">H1 for testing</h1> > > <p tal:content="authUser/isAdmin">dummy</p> > > > </metal:content> > </metal:page> > > and it works fine sometimes. I mean in some cases it properly translates > itself according to photoblog.po: > > msgid "" > msgstr "" > "Content-Type: text/plain; charset=utf-8\n" > "Content-Transfer-Encoding: 8bit\n" > > msgid "H1 for testing" > msgstr "Jednoduchá věta v češtině" > > This photoblog.po is correctly converted to photoblog.mo. But the translation > appears to take place only about few seconds when I make some changes to > photoblog.po and regerate the .MO file. And then again after a while when no > request comes. I guess this will have something to do with caching, but have > no idea how. I also do regeneration of .MO files with every request for the > development stage by calling the shell script doing that and that script > works fine too. Any ideas? > > PHPTAL 1.2.2, PHP 5.3.3, Ubuntu Server 10.10 > > Jezisheck > > > _______________________________________________ > PHPTAL mailing list > PHPTAL@lists.motion-twin.com > http://lists.motion-twin.com/mailman/listinfo/phptal _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal