I18Nv2 Constants | I18Nv2::lastLocale |
I18Nv2 | |
PEAR Manual | |
require_once 'I18Nv2.php'; |
mixed I18Nv2::setLocale (
string $locale
, int $cat = LC_ALL
)
Set environment to the specified locale.
Set a locale:
|
a valid locale like en_US or de_DE
the locale category - usually LC_ALL
Returns string used system locale or false on failure.
This function should be called statically.
See also I18Nv2::setLocale() example, I18Nv2::getInfo(), I18Nv2::lastLocale(), PHPs setlocale().
I18Nv2 Constants | I18Nv2::lastLocale |
I18Nv2 | |
PEAR Manual | |