in app/Helpers/CountriesHelper.php [134:166]
private static function getDefaultCountryFromLocale($locale): ?string
{
switch (mb_strtolower($locale)) {
case 'cs':
$country = 'CZ';
break;
case 'en':
$country = 'US';
break;
case 'he':
$country = 'IL';
break;
case 'zh':
$country = 'CN';
break;
case 'de':
case 'es':
case 'fr':
case 'hr':
case 'it':
case 'nl':
case 'pt':
case 'ru':
case 'tr':
$country = mb_strtoupper($locale);
break;
default:
$country = null;
break;
}
return $country;
}