$language->locale()

Returns the locale string

  • return (string)

Example

<?= $site->language('en')->locale() ?>

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