Lines Matching refs:locale
11 /* Prototype : string setlocale (int $category , string $locale [,string $..] )
12 : string setlocale(int $category , array $locale);
13 * Description: Sets locale information.Returns the new current locale , or FALSE
14 if locale functinality is not implemented in this platform.
21 function good_locale($locale) {
22 return $locale !== 'tt_RU@iqtelif.UTF-8';
28 * Returns : set of locale as array
34 // run the command 'locale -a' to fetch all locales available in the system
35 system('locale -a');
45 // return all the locale found in the system, except for broken one
52 //try different locale names
56 echo "-- Test setlocale() with all available locale in the system --\n";
58 // try n set each locale using setlocale() and keep track failures, if any
60 //set locale to $value, if success, count increments
78 echo "Names of locale() for which setlocale() failed ...\n";
89 -- Test setlocale() with all available locale in the system --