Searched refs:locales (Results 1 – 25 of 87) sorted by relevance
1234
12 $locales = IntlCalendar::getAvailableLocales();13 var_dump(count($locales) > 100);15 $locales = intlcal_get_available_locales();16 var_dump(in_array('pt', $locales));
9 * Format a number using misc currencies/locales.12 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'uk' locales changed19 $locales = array(30 foreach( $locales as $locale => $currency )
10 * Try creating collator with different locales18 $locales = array(28 foreach( $locales as $locale )39 // Get the requested, valid and actual locales.
14 $locales = array(22 foreach( $locales as $locale )
11 * Try creating collator with different locales19 $locales = array(29 foreach( $locales as $locale )40 // Get the requested, valid and actual locales.
11 * Format a number using misc locales/patterns.15 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed38 $locales = array(49 foreach( $locales as $locale )
10 * Format a number using misc locales/patterns.14 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed37 $locales = array(48 foreach( $locales as $locale )
15 $locales = array(28 foreach( $locales as $locale )
16 $locales = array(29 foreach( $locales as $locale )
9 * Format a number using misc locales/patterns.15 $locales = array(28 foreach( $locales as $locale => $pattern )
2 Test setlocale() function : basic functionality - passing multiple locales as argument9 die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');14 /* Test the setlocale() when multiple locales are provided as argument */20 // run the command 'locale -a' to fetch all locales available in the system35 /* Collect existing system locales and get three locales that can be use to37 echo "*** Testing setlocale() by passing multiple locales as argument ***\n";40 //set of currency symbol according to above list of locales54 // gather all the locales installed in the system57 // Now check for three locales that is present in the system and use that as argument to setlocale()86 *** Testing setlocale() by passing multiple locales as argument ***[all …]
2 Test setlocale() function : usage variations - passing multiple valid/invalid locales as argument9 die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');14 /* Test the setlocale() when multiple valid/invalid locales are provided as argument */20 // run the command 'locale -a' to fetch all locales available in the system35 /* Collect existing system locales and get 2 valid locales that can be use to37 echo "*** Testing setlocale() by passing multiple valid/invalid locales as argument ***\n";39 //set of currency symbol according to above list of locales53 // gather all the locales installed in the system56 // Now check for three locales that is present in the system and use that as argument to setlocale()85 *** Testing setlocale() by passing multiple valid/invalid locales as argument ***[all …]
9 die('skip available locales not usable');14 /* Test the setlocale() when an array is provided as input containing list of locales */20 // run the command 'locale -a' to fetch all locales available in the system35 /* Collect existing system locales and prepare a list of locales that can be used as38 echo "*** Testing setlocale() with an array containing list of locales ***\n";40 //set of locales to be used54 //set of currency symbol according to above list of locales68 // gather all the locales installed in the system71 // prepare the list of locales based on list of locales found in the system82 // Now $list_of_locales array contains the locales that can be passed to[all …]
2 Test setlocale() function : usage variations - Setting all available locales in the platform15 /* setlocale() to set all available locales in the system and check the success count */29 // run the command 'locale -a' to fetch all locales available in the system44 // gather all the locales installed in the system52 // gather all locales installed in the system(stored $all_system_locales),65 echo "No of locales found on the machine = ".count($all_system_locales)."\n";70 // failure then dump the list of failing locales85 No of locales found on the machine = %d
16 //Invalid array of locales20 echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n";21 //Invalid array of locales36 -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --
9 die('skip available locales not usable');20 // run the command 'locale -a' to fetch all locales available in the system35 /* Collect existing system locales and set one among them,39 //set of locales to be used53 //set of currency symbol according to above list of locales67 // gather all the locales installed in the system72 // $common_locales & locales that are available in the system, stored
Completed in 65 milliseconds