View Single Post
  #3  
Old 07-13-2011, 04:49 AM
 
frontliner frontliner is offline
 

Advanced Member
  
Join Date: Apr 2011
Location: Mons - Belgium
Posts: 53
 

Default Re: How to call a language variable

Steve,

Before creating my own language variable, i tried again to test with an existing one but it doesn't work. I tried to put the following both in category description and in product description but it is still treated as text :

{$lng.disable_chinfo_msg}

{$lng.txt_disable_chinfo_msg}

{literal}
{$lng.txt_disable_chinfo_msg}
{/literal}

{{$lng.txt_disable_chinfo_msg}}

Those 4 attempts above did not displayed the text contained but only the variable itself.

I have a doubt as if the variable could not be found it should maybe give back an error but not display the variable itselfs logically.

I have both french and english languages installed with english currently disabled, the variable is called from the french language version. Is the path to the variable wrong ?
__________________
X-Cart Gold v4.4.3
Reply With Quote