$language->name()
Returns the full name of the language
-
return (string)
Example
<ul>
<?php foreach($site->languages() as $language): ?>
<li>
<a href="<?= $language->url() ?>">
<?= html($language->name()) ?>
</a>
</li>
<?php endforeach ?>
</ul>