Language::getLocale()
Get locale for this language
See the Languages::getLocale()
method for full details.
Usage
// basic usage
$string = $language->getLocale();
// usage with all arguments
$string = $language->getLocale(int $category = 6);
Arguments
Name | Type(s) | Description |
---|---|---|
$category (optional) | int | Optional category Default:LC_ALL |
Return value
string
bool
See Also
Language methods and properties
API reference based on ProcessWire core version 3.0.251