View Single Post
  #1  
Old 04-13-2005, 07:17 AM
 
aschouela aschouela is offline
 

Member
  
Join Date: Mar 2005
Posts: 15
 

Default How do you execute code depending on a language?

I am trying to execute code according to the language the user is viewing the store.

Does anyone know the variable name for language and the values for the languages French and English?

I basically want the code to look like:

{if $language eq "French"}

######line of code here######

{else}

######line fo code here######

{/if}

I am just not sure on the first line.
__________________
Adam
x-cart-4.0.12gold
Unix OS
Reply With Quote