postfilter.lanf.php (multilanguage plugin)
| From: | Ale | Date: | Mon, 31 Mar 2003 20:15:55 +0000 |
| Subject: | postfilter.lanf.php (multilanguage plugin) | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9021@lists.php.net to get a copy of this message | ||
For those who asked, here´s how to use the plugins with Smarty 2.5 RC2:
Note that due to what I think it's a bug in Smarty, you should add the
following line to your Smarty.class.php file for these plugins to work:
find:
$smarty_compiler->default_modifiers = $this->default_modifiers;
add after:
$smarty_compiler->compile_id = $this->_compile_id;
(this is in function _compile_template(), around line 1731 in version 2.5
RC2, could be a different line number in other Smarty version):
The plugins can be found at http://jellycan.com/lang/ , the
readme file
there will be updated with this very info soon.
Ale.