vendor/symfony/src/Symfony/Component/Locale/Resources/data/UPDATE.txt
author ymh <ymh.work@gmail.com>
Sun, 06 Nov 2011 23:44:37 +0100
changeset 27 1df556b2c0f9
parent 0 7f95f8617b0b
permissions -rwxr-xr-x
Correct memory problem

How to update the ICU data
==========================

1. Checkout the current version of the ICU data files

   $ svn co http://source.icu-project.org/repos/icu/icu/trunk/source/data icu-data

2. Execute the build script

   $ php update-data.php /path/to/icu-data

.dat-package
------------

The individual *.res files can be combined into a single .dat-file.
Unfortunately, PHP's `ResourceBundle` class is currently not able to handle
.dat-files.

Once it is, the following steps have to be followed to build the .dat-file:

3. Package the resource bundles into a single file

   $ find . -name *.res | sed -e "s/\.\///g" > packagelist.txt
   $ pkgdata -p region -T build -d . packagelist.txt

4. Clean up

   $ rm -rf build packagelist.txt

5. You can now move region.dat to replace the version bundled with Symfony2.