$site->multilang()

Checks if there are one or more languages configured in the config.php

  • return (boolean)

Example

<?php if($site->multilang()): ?>
This is a multi-language website
<?php endif ?>

Is something missing or incorrect? Edit this page on Github…