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

How to call Value of field on certain language?

 
Post new topic   Reply to topic    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
ameerko2u
Smarty n00b


Joined: 17 Jun 2014
Posts: 3

PostPosted: Thu Jun 30, 2016 11:08 am    Post subject: How to call Value of field on certain language? Reply with quote

How to call Value of field on certain language?

i m using 2 languages
http://goo.gl/W7DO8H --- i call value for color here to show color

but i want to call it in Arabic page but not in Arabic, i want it in English so it show color like English

it should be in English

how to call it in Arabic site but with English value not Arabic?

Here what i m using

Code:
{if !empty($listing_data.color)}
    {assign var='listing_color' value='listing_fields+name+color_'|cat:$listing_data.color}
    {$lang.$listing_color}
{/if}




Regards
Ameer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Tips and Tricks 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