On 9 Aug 2009, at 23:01, Iván -DrSlump- Montes wrote:
Have a look at PHP's tokenizer function token_get_all. It will give
you a rock solid base for your filter since it uses the same parser
used in the PHP engine.
Actually it might not be that simple, because XML is parsed by PHPTAL
and
On 7 Aug 2009, at 16:15, Richard Cernava wrote:
A feature of PHP's is to consume a newline when it is following
it's closing
tag (http://bugs.php.net/bug.php?id=28381). The reason I bring this
up is
because this issue affects PHPTAL's output. Take for example:
tal:block
Hi,
I don't know how to use i18n. I made a template, made two .mo files,
and I don't know how to set language. I have two versions: 'pl_PL' and
'en_GB', and pl_PL are always used. I don't know how to change
language to en_GB. I was trying some combinations on setLanguage() and
sometimes I got
Most common gotcha is that Apache with mod_php has to be restarted every
time you change .mo files (there are no problems with other servers or
FastCGI).
Yeah, I know that, but still ... :/
Regards,
Łukasz
___
PHPTAL mailing list
W dniu 2009-08-10 15:13, Kornel Lesiński pisze:
On 10-08-2009 at 13:29:27 Łukasz Palka lukasz.pal...@gmail.com wrote:
I don't know how to use i18n. I made a template, made two .mo files,
and I don't know how to set language. I have two versions: 'pl_PL' and
'en_GB', and pl_PL are always used.