<?php
namespace ConcreteCoreLocalizationService;
use PunicLanguage;
use PunicTerritory;
use Localization;
defined('C5_EXECUTE') or die("Access Denied.");
class LanguageList
{
/**
* Returns an associative array with the locale code as the key and the translated language name as the value.
* @return array
*/
public function getLanguageList()
{
$languages = Language::getAll(true, true);
return $languages;
}
}