MultilingualRootURLController::get_locale_from_country
Finds the locale based on the allowed locales and the country code
Signature
public function get_locale_from_country({string}
$country )
Parameters
$country
— object- Country to try and find a locale for
Returns
- {string}
- Can potentially return null if there were no matches