Jump to content

$language variable is empty


Recommended Posts

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 ?


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated