66
66
The intl extension internally uses the `ICU library `_ to obtain localization
67
67
data such as number formats in different languages, country names and more.
68
68
To make this data accessible to userland PHP libraries, Symfony2 ships a copy
69
- in the `ICU component `_.
69
+ in the `Icu component `_.
70
70
71
71
Depending on the ICU version compiled with your intl extension, a matching
72
72
version of that component needs to be installed. It sounds complicated,
87
87
88
88
For example, consider that your development machines ship ICU 4.8 and the server
89
89
ICU 4.2. When you run ``php composer.phar update `` on the development machine, version
90
- 1.2.* of the ICU component will be installed. But after deploying the
90
+ 1.2.* of the Icu component will be installed. But after deploying the
91
91
application, ``php composer.phar install `` will fail with the following error:
92
92
93
93
.. code-block :: bash
@@ -102,7 +102,7 @@ code::
102
102
library icu has the wrong version installed or is missing from your
103
103
system, make sure to have the extension providing it.
104
104
105
- The error tells you that the requested version of the ICU component, version
105
+ The error tells you that the requested version of the Icu component, version
106
106
1.2, is not compatible with PHP's ICU version 4.2.
107
107
108
108
One solution to this problem is to run ``php composer.phar update `` instead of
@@ -118,7 +118,7 @@ code::
118
118
$ php -i | grep ICU
119
119
ICU version => 4.2.1
120
120
121
- Then fix the ICU component in your composer.json file to a matching version:
121
+ Then fix the Icu component in your `` composer.json `` file to a matching version:
122
122
123
123
.. code-block :: json
124
124
@@ -408,7 +408,7 @@ to the current default locale::
408
408
That's all you need to know for now. Have fun coding!
409
409
410
410
.. _Packagist : https://packagist.org/packages/symfony/intl
411
- .. _ ICU component : https://packagist.org/packages/symfony/icu
411
+ .. _ Icu component : https://packagist.org/packages/symfony/icu
412
412
.. _intl extension : http://www.php.net/manual/en/book.intl.php
413
413
.. _install the intl extension : http://www.php.net/manual/en/intl.setup.php
414
414
.. _ICU library : http://site.icu-project.org/
0 commit comments