Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Translate syntax of smarty

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
smolbars
Smarty n00b


Joined: 14 Sep 2011
Posts: 1

PostPosted: Wed Sep 14, 2011 5:53 am    Post subject: Translate syntax of smarty Reply with quote

Hello

I need your help. We need using ypur engine, but we want, that syntax can in Germany writing. Our client want that possible writing in the html-pages, that applying engine {wenn $variable}. Or for example in oops no { for etc} but {für etc} and for all syntax, than can see an user. Have your engine Smarty standard methods for applying this things?

As a fact we needing translate syntax of smarty commands in germany but wir do not want changing sources
Back to top
View user's profile Send private message
jakefratelli
Smarty Rookie


Joined: 14 Nov 2009
Posts: 6

PostPosted: Wed Sep 14, 2011 8:16 am    Post subject: Reply with quote

Hello,

You can use a prefilter to translate the syntax just before the compilation.
http://www.smarty.net/docs/en/plugins.prefilters.postfilters.tpl
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP