![]() |
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. |
I figured it out. Just in case someone else out there is haveing the same question the variable name for the language of the store is $store_language and the values for the languages English and French are US and FR respectively.
|
All times are GMT -8. The time now is 11:10 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.