Determines the locale best matching the given list of browser locales
public static detect_browser_locale ( mixed $domain = null ) : string | ||
$domain | mixed | Domain to determine the locales for. If null, the global list be returned. If true, then the current domain will be used. |
Résultat | string | The matching locale, or null if none could be determined |