Home
last modified time | relevance | path

Searched refs:locale (Results 51 – 75 of 215) sorted by relevance

123456789

/PHP-5.5/tests/lang/
H A D034.phpt6 <?php # try to activate a german locale
8 print "skip Can't find german locale";
13 # activate the german locale
/PHP-5.5/ext/intl/tests/
H A Dcollator_compare.phpt34 * using specified locale.
36 function compare_pairs( $locale, $test_array )
40 $coll = ut_coll_create( $locale );
63 // Compare strings using en_US locale.
85 // Compare strings using ru_RU locale.
100 // Compare strings using lt_LT locale.
H A Dcollator_compare_variant2.phpt34 * using specified locale.
36 function compare_pairs( $locale, $test_array )
40 $coll = ut_coll_create( $locale );
63 // Compare strings using en_US locale.
85 // Compare strings using ru_RU locale.
100 // Compare strings using lt_LT locale.
H A Dcollator_asort.phpt17 * Sort various arrays in specified locale.
19 function sort_arrays( $locale, $test_arrays, $sort_flag = Collator::SORT_REGULAR )
23 $coll = ut_coll_create( $locale );
57 // Sort an array in SORT_REGULAR mode using en_US locale.
87 // Sort an array in SORT_STRING mode using en_US locale.
108 // Sort a non-ASCII array using ru_RU locale.
123 // Sort an array using Lithuanian locale.
H A Dcollator_asort_variant2.phpt17 * Sort various arrays in specified locale.
19 function sort_arrays( $locale, $test_arrays, $sort_flag = Collator::SORT_REGULAR )
23 $coll = ut_coll_create( $locale );
57 // Sort an array in SORT_REGULAR mode using en_US locale.
87 // Sort an array in SORT_STRING mode using en_US locale.
108 // Sort a non-ASCII array using ru_RU locale.
123 // Sort an array using Lithuanian locale.
H A Dcollator_sort.phpt17 * Sort arrays in the given list using specified locale.
19 function sort_arrays( $locale, $arrays, $sort_flag = Collator::SORT_REGULAR )
23 $coll = ut_coll_create( $locale );
55 // Sort an array in SORT_REGULAR mode using en_US locale.
79 // Sort in en_US locale with SORT_STRING flag
83 // Sort a non-ASCII array using ru_RU locale.
91 // Sort an array using Lithuanian locale.
H A Dcollator_sort_variant2.phpt17 * Sort arrays in the given list using specified locale.
19 function sort_arrays( $locale, $arrays, $sort_flag = Collator::SORT_REGULAR )
23 $coll = ut_coll_create( $locale );
55 // Sort an array in SORT_REGULAR mode using en_US locale.
79 // Sort in en_US locale with SORT_STRING flag
83 // Sort a non-ASCII array using ru_RU locale.
91 // Sort an array using Lithuanian locale.
H A Dformatter_format_currency.phpt31 foreach( $locales as $locale => $currency )
33 $fmt = ut_nfmt_create( $locale, NumberFormatter::CURRENCY );
34 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
H A Dformatter_format_currency2.phpt31 foreach( $locales as $locale => $currency )
33 $fmt = ut_nfmt_create( $locale, NumberFormatter::CURRENCY );
34 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
H A Dcollator_get_sort_key_variant4.phpt12 function sort_arrays( $locale, $data )
16 $coll = ut_coll_create( $locale );
42 // Sort a non-ASCII array using ru_RU locale.
49 // Sort an array using Lithuanian locale.
H A Dcollator_sort_with_sort_keys.phpt17 * Sort arrays in the given list using specified locale.
19 function sort_arrays( $locale, $arrays )
23 $coll = ut_coll_create( $locale );
57 // Sort an array in SORT_REGULAR mode using en_US locale.
72 // Sort a non-ASCII array using ru_RU locale.
85 // Sort an array using Lithuanian locale.
H A Dcollator_sort_with_sort_keys_variant2.phpt17 * Sort arrays in the given list using specified locale.
19 function sort_arrays( $locale, $arrays )
23 $coll = ut_coll_create( $locale );
57 // Sort an array in SORT_REGULAR mode using en_US locale.
72 // Sort a non-ASCII array using ru_RU locale.
85 // Sort an array using Lithuanian locale.
H A Dcollator_get_sort_key.phpt14 function sort_arrays( $locale, $data )
18 $coll = ut_coll_create( $locale );
44 // Sort a non-ASCII array using ru_RU locale.
51 // Sort an array using Lithuanian locale.
H A Dcollator_get_sort_key_variant2.phpt13 function sort_arrays( $locale, $data )
17 $coll = ut_coll_create( $locale );
43 // Sort a non-ASCII array using ru_RU locale.
50 // Sort an array using Lithuanian locale.
H A Dcollator_get_sort_key_variant3.phpt13 function sort_arrays( $locale, $data )
17 $coll = ut_coll_create( $locale );
43 // Sort a non-ASCII array using ru_RU locale.
50 // Sort an array using Lithuanian locale.
/PHP-5.5/ext/standard/tests/strings/
H A Dbug65769.phpt14 foreach ($locales as $locale) {
15 $locale = setlocale(LC_ALL, $locale);
18 $locale,
H A Dbug65230.phpt2 Bug #65230 setting locale randomly broken
14 function test($locale, $value)
16 $newlocale = setlocale(LC_ALL, $locale);
/PHP-5.5/ext/intl/dateformat/
H A Ddateformat_helpers.cpp32 Locale const& locale, in datefmt_process_calendar_arg() argument
45 cal = new GregorianCalendar(locale, status); in datefmt_process_calendar_arg()
63 cal = Calendar::createInstance(locale, status); in datefmt_process_calendar_arg()
65 cal = new GregorianCalendar(locale, status); in datefmt_process_calendar_arg()
/PHP-5.5/ext/intl/formatter/
H A Dformatter_main.c30 const char* locale; in numfmt_ctor() local
40 &locale, &locale_len, &style, &pattern, &pattern_len ) == FAILURE ) in numfmt_ctor()
59 locale = intl_locale_get_default(TSRMLS_C); in numfmt_ctor()
63 …FORMATTER_OBJECT(nfo) = unum_open(style, spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CO… in numfmt_ctor()
/PHP-5.5/ext/gettext/tests/
H A Dgettext_basic-enus.phpt2 Gettext basic test with en_US locale that should be on nearly every system
9 die("skip en_US.UTF-8 locale not supported.");
17 bindtextdomain ("messages", "./locale");
H A Dgettext_dgettext.phpt9 die("SKIP en_US.UTF-8 locale not supported.");
16 bindtextdomain('dgettextTest', './locale');
17 bindtextdomain('dgettextTest_switch', './locale');
H A Dgettext_basic.phpt9 die("skip fi_FI locale not supported.");
17 bindtextdomain ("messages", "./locale");
/PHP-5.5/ext/intl/doc/
H A Dformatter_api.php146 * @param string $locale Locale in which the number would be formatted
150 public function __construct($locale, $style, $pattern = null) {} argument
162 * @param string $locale Locale in which the number would be formatted
168 public static function create($locale, $style, $pattern = null) {} argument
334 * @param string $locale Locale in which the number would be formatted
339 function numfmt_create($locale, $style, $pattern = null) {} argument
/PHP-5.5/ext/intl/resourcebundle/
H A Dresourcebundle_class.c84 const char *locale; in resourcebundle_ctor() local
94 &locale, &locale_len, &bundlename, &bundlename_len, &fallback ) == FAILURE ) in resourcebundle_ctor()
104 if (locale == NULL) { in resourcebundle_ctor()
105 locale = intl_locale_get_default(TSRMLS_C); in resourcebundle_ctor()
109 rb->me = ures_open(bundlename, locale, &INTL_DATA_ERROR_CODE(rb)); in resourcebundle_ctor()
111 rb->me = ures_openDirect(bundlename, locale, &INTL_DATA_ERROR_CODE(rb)); in resourcebundle_ctor()
122 bundlename ? bundlename : "(default data)", locale, in resourcebundle_ctor()
135 ZEND_ARG_INFO( 0, locale )
200 const char * locale = ures_getLocaleByType( rb->me, ULOC_ACTUAL_LOCALE, &icuerror ); in resourcebundle_array_fetch() local
202 spprintf( &pbuf, 0, "Cannot load element %d without fallback from to %s", meindex, locale ); in resourcebundle_array_fetch()
[all …]
/PHP-5.5/ext/intl/msgformat/
H A Dmsgformat.c31 const char* locale; in msgfmt_ctor() local
43 &locale, &locale_len, &pattern, &pattern_len ) == FAILURE ) in msgfmt_ctor()
64 locale = intl_locale_get_default(TSRMLS_C); in msgfmt_ctor()
81 …MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CODE(mfo… in msgfmt_ctor()

Completed in 52 milliseconds

123456789