Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

translate modifier with laravel 5.7

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
alokka
Smarty n00b


Joined: 24 Dec 2018
Posts: 2

PostPosted: Mon Dec 24, 2018 7:11 pm    Post subject: translate modifier with laravel 5.7 Reply with quote

I used ytake/Laravel.Smarty library, but i can not make translate modifier

Please help, step by step because I'am beginner on smarty.
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1518

PostPosted: Tue Dec 25, 2018 9:48 pm    Post subject: Reply with quote

Show the code you have so far and explain what does not work for you.
Back to top
View user's profile Send private message
alokka
Smarty n00b


Joined: 24 Dec 2018
Posts: 2

PostPosted: Wed Jan 16, 2019 11:29 am    Post subject: Reply with quote

on tpl file i wrote "<div id='closeCookiesAlert'>{"got_it"|translate}</div>" to translate the value for this key "got_it".

what should i write on smarty vendor to work
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1518

PostPosted: Thu Jan 17, 2019 9:21 am    Post subject: Reply with quote

No idea. There's no such modifier in Smarty.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3 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