Hi fellow PHPTALers!
I'm experiencing strange thing with translations.
I have a simple template index.pt:
<h1 i18n:translate="">H1 for testing</h1>
and it works fine sometimes. I mean in some cases it properly translates
itself according to photoblog.po:
"Content-Type: text/plain; charset=utf-8\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
PHPTAL mailing list