tkalfaoglu Posted May 17, 2012 Share Posted May 17, 2012 I'm re-attempting to multi-lingualise (?) my site.. I just wondered how to determine the current language from PHP or from whmcs' template language?. I was just going to put something like if $language="en" ..stuff in english.. else ..something else thanks ,-t 0 Quote Link to comment Share on other sites More sharing options...
plusplushosting Posted May 20, 2012 Share Posted May 20, 2012 yes, that the way, you can use the already existing language variable called isocode too... {if $LANG.isocode eq 'en'} ..stuff in english.. {else} ..something else {/if} good luck! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.