Lines Matching refs:locale
2 Test setlocale() function : basic functionality - setting system locale to a specific
15 /* test setlocale by specifying a specific locale as input */
21 // run the command 'locale -a' to fetch all locales available in the system
22 system('locale -a');
32 // return all the locale found in the system
37 Check the currency settings in the new locale */
38 echo "*** Testing setlocale() : basic functionality - set to a specific locale ***\n";
71 // set the system locale to a locale, choose the right locale by
72 // finding a common locale in commonly used locale stored in
75 echo "Setting system locale(LC_ALL) to ";
77 // check if a commonly used locale is installed in the system
80 // set the found locale as current locale
86 // continue to check if next commonly locale is installed in the system
91 // check that new locale setting is effective
92 // use localeconv() to get the details of currently set locale
95 //checking currency settings in the new locale to see if the setlocale() was effective
97 echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$value].", Found: …
108 *** Testing setlocale() : basic functionality - set to a specific locale ***
109 Setting system locale(LC_ALL) to %s
111 Checking currency settings in the new locale, expected: %s, Found: %s