@@ -11,7 +11,7 @@ The Intl Component
11
11
.. caution ::
12
12
13
13
The replacement layer is limited to the ``en `` locale. If you want to use
14
- other locales, you should `install the intl extension `_. There is no conflict
14
+ other locales, you should `install the intl extension `_. There is no conflict
15
15
between the two because, even if you use the extension, this package can still
16
16
be useful to access the ICU data.
17
17
@@ -30,30 +30,6 @@ Installation
30
30
31
31
.. include :: /components/require_autoload.rst.inc
32
32
33
- If you install the component via Composer, the following classes and functions
34
- of the intl extension will be automatically provided if the intl extension is
35
- not loaded:
36
-
37
- * :phpclass: `Collator `
38
- * :phpclass: `IntlDateFormatter `
39
- * :phpclass: `Locale `
40
- * :phpclass: `NumberFormatter `
41
- * :phpfunction: `intl_error_name `
42
- * :phpfunction: `intl_is_failure `
43
- * :phpfunction: `intl_get_error_code `
44
- * :phpfunction: `intl_get_error_message `
45
-
46
- When the intl extension is not available, the following classes are used to
47
- replace the intl classes:
48
-
49
- * :class: `Symfony\\ Component\\ Intl\\ Collator\\ Collator `
50
- * :class: `Symfony\\ Component\\ Intl\\ DateFormatter\\ IntlDateFormatter `
51
- * :class: `Symfony\\ Component\\ Intl\\ Locale\\ Locale `
52
- * :class: `Symfony\\ Component\\ Intl\\ NumberFormatter\\ NumberFormatter `
53
- * :class: `Symfony\\ Component\\ Intl\\ Globals\\ IntlGlobals `
54
-
55
- Composer automatically exposes these classes in the global namespace.
56
-
57
33
Accessing ICU Data
58
34
------------------
59
35
@@ -211,9 +187,9 @@ Locales
211
187
~~~~~~~
212
188
213
189
A locale is the combination of a language, a region and some parameters that
214
- define the interface preferences of the user. For example, "Chinese" is the
215
- language and ``zh_Hans_MO `` is the locale for "Chinese" (language) + "Simplified"
216
- (script) + "Macau SAR China" (region). The ``Locales `` class provides access to
190
+ define the interface preferences of the user. For example, "Chinese" is the
191
+ language and ``zh_Hans_MO `` is the locale for "Chinese" (language) + "Simplified"
192
+ (script) + "Macau SAR China" (region). The ``Locales `` class provides access to
217
193
the name of all locales::
218
194
219
195
use Symfony\Component\Intl\Locales;
0 commit comments