AmorO Posted July 13, 2018 Share Posted July 13, 2018 i'm a beginner an i'm trying to do some changes when a specific language is chosen , i tried to use a condition in $language like this {if $language eq 'english'} <link .... {/if} but without result i also tried with $LANG.isocode and same problem , then i figure out that when i try to echo my $language i get an empty result . is there an other way to do it ? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted July 14, 2018 Share Posted July 14, 2018 In this moment I'm writing from my phone therefore I cannot double-check what I'm saying. Anyway if I remember correctly the right variable to use is $_SESSION=['Language']. This should return you the current language. 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.