[Locale] added more information to the README.md regarding the need to build the ICU data when the intl extension ICU data version mismatch the one shipped with Symfony

This commit is contained in:
Eriksen Costa 2012-08-07 12:15:12 -03:00
parent 3191c704a1
commit 33105e08d7
1 changed files with 5 additions and 1 deletions

View File

@ -23,10 +23,14 @@ You can run the unit tests with the following command:
If your PHP have the ``intl`` extension enabled but the intl extension ICU data
version mismatch the one shipped with the component, you can build the data for
it and use the ``USE_INTL_ICU_DATA_VERSION`` environment variable:
it and use the ``USE_INTL_ICU_DATA_VERSION`` environment variable.
php Resources/data/build-data.php
export USE_INTL_ICU_DATA_VERSION=true
phpunit
This way the tests will use the ICU data files with the same version of your
``intl`` extension.
Read the file ``Resources/data/UPDATE.txt`` for more info about building or
updating the ICU data files.