HI,
I m not a programmer and my code is not working below. I’m trying to configure an Hyperlink path based on the Drupal 7 language chosen. Any help is welcome
<?php $contact = ""; switch ($language){ case "fr": $contact = '/nous-joindre'; break; case "en": $contact = '/Contactus'; break; default: $contact = '/Contactus'; break; echo $contact; } ?>