Lines Matching refs:locale
8 exec("locale -a", $output, $exit_code);
10 die("skip locale -a not available");
18 function good_locale($locale) {
20 * Note: no_NO is a bogus locale and should not be used, see https://bugzilla.redhat.com/971416
22 return $locale !== 'tt_RU@iqtelif.UTF-8' && $locale !== 'no_NO.ISO-8859-1';
29 // run the command 'locale -a' to fetch all locales available in the system
30 system('locale -a');
40 // return all the locale found in the system, except for broken one
47 //try different locale names
51 echo "-- Test setlocale() with all available locale in the system --\n";
53 // try n set each locale using setlocale() and keep track failures, if any
55 //set locale to $value, if success, count increments
73 echo "Names of locale() for which setlocale() failed ...\n";
84 -- Test setlocale() with all available locale in the system --