Re: [SMARTY-GENERAL] translation translation
| From: | Monte Ohrt | Date: | Fri, 12 Apr 2002 04:12:43 +0000 |
| Subject: | Re: [SMARTY-GENERAL] translation translation | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3656@lists.php.net to get a copy of this message | ||
There is no translation function. This is an example of block function syntax:
{myfunc}
{/myfunc}
My point was, you can _create_ a translation function with the block funtionality of Smarty.
Michal Prinke wrote:
Monte Ohrt wrote:Try out the block functionality in the cvs version of Smarty. You can do this with a custom block function: {translate lang="en"} blah blah blah {/translate}I've just downloaded the CVS version of Smarty and I cannot find the translate function. Where is it? I'm a complete CVS newbie - maybe I've downloaded the wrong version? Thank you...