(No version information available, might only be in Git)
Locale::minimizeSubtags -- locale_minimize_subtags — Remove likely subtags from a locale
オブジェクト指向型
$locale
手続き型
Minimizes a locale tag by removing subtags that can be inferred using the ICU likely subtag data. For example, en_Latn_US becomes en.
en_Latn_US
en
locale
The locale to minimize.
Returns the locale with likely subtags removed, or false on failure.
false
Throws a ValueError when the locale argument contains null bytes.