Skip to content

Instantly share code, notes, and snippets.

@fazlurr
Created May 8, 2014 05:24
Show Gist options
  • Select an option

  • Save fazlurr/c9bc0f8bddd357065902 to your computer and use it in GitHub Desktop.

Select an option

Save fazlurr/c9bc0f8bddd357065902 to your computer and use it in GitHub Desktop.
<?php
if(qtrans_getLanguage()=='en') {
// put your code here if the current language code is 'en' (English)
} elseif(qtrans_getLanguage()=='id') {
// put your code here if the current language code is 'id' (Indonesian)
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment