Locale::addLikelySubtags

locale_add_likely_subtags

(No version information available, might only be in Git)

Locale::addLikelySubtags -- locale_add_likely_subtags β€” Add likely subtags to a locale

θͺ¬ζ˜Ž

γ‚ͺγƒ–γ‚Έγ‚§γ‚―γƒˆζŒ‡ε‘εž‹

public static function Locale::addLikelySubtags(string $locale): string|false

ζ‰‹ηΆšγεž‹

function locale_add_likely_subtags(string $locale): string|false

Expands a locale tag by adding likely subtags based on the ICU locale data. For example, en becomes en_Latn_US.

パラパータ

locale

The locale to expand.

ζˆ»γ‚Šε€€

Returns the locale with likely subtags added, or false on failure.

エラー / δΎ‹ε€–

Throws a ValueError when the locale argument contains null bytes.

参考

οΌ‹add a note

User Contributed Notes

There are no user contributed notes for this page.