Hello, Im trying to use gettext for php to make a multilingual website. Right now its hosted at:
If you try to switch languages, it doesnt work. However, it works perfectly on my local webserver. I was wondering if anyone has any experience using gettext here. Here is the a snippet of the code im using:
if (isSet($GET["lang"])) $lang = $GET["lang"];
// Set the text domain as 'messages'
$domain = 'messages';
<?php echo gettext("hello world!!"); ?>
If anyone could offer any insight I'd greatly appreciate it. Thank you!