Provides access to translated time zone names from CLDR.
<?php
use Bigwhoop\LocalizedTimeZones\Loader;
var_dump(Loader::all('es_MX'));
// [
// 'Africa/Abidjan' => 'Abiyán',
// 'Africa/Accra' => 'Acra',
// 'America/Adak' => 'Adak',
// 'Africa/Addis_Ababa' => 'Addis Abeba',
// 'Australia/Adelaide' => 'Adelaida',
// 'Asia/Aden' => 'Adén',
// ...
// ]
var_dump(Loader::one('Africa/Abidjan', 'es'));
// Abiyán
composer require bigwhoop/localized-time-zones
MIT. See LICENSE file.