function phutil_is_system_locale_available($locale)libphutil Technical Documentation (Core Utilities)
function phutil_is_system_locale_available($locale)
libphutil Technical Documentation (Core Utilities)
Test if a system locale (LC_ALL) is available on the system.
Parameters
string | $locale | Locale name like "en_US.UTF-8". |
Return
bool | True if the locale is available. |
- Defined
- src/utils/utf8.php:963