Fabien Potencier 4316595dbb fixed CS il y a 13 ans
..
Exception 8c0beea677 [Phpdoc] Cleaning/fixing il y a 14 ans
Resources 272e07fb6d [Locale] fixed CS il y a 14 ans
Stub 4316595dbb fixed CS il y a 13 ans
LICENSE f54cedfe5e added LICENSE files for the subtree repositories il y a 14 ans
Locale.php e3421a0b1d [DoctrineBridge] fixed some CS il y a 13 ans
README.md 997f354d53 tweaked the README files il y a 13 ans
composer.json d1ae6c7cb6 bumped Symfony version in composer.json files to 2.0.7 il y a 13 ans

README.md

Locale Component

Locale provides fallback code to handle cases when the intl extension is missing.

Loading the fallback classes for example using the ClassLoader component only requires adding the following lines to your autoloader:

// intl
if (!function_exists('intl_get_error_code')) {
    require __DIR__.'/../vendor/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php';

    $loader->registerPrefixFallbacks(array(__DIR__.'/../vendor/symfony/src/Symfony/Component/Locale/Resources/stubs'));
}

Resources

Unit tests:

https://github.com/symfony/symfony/tree/master/tests/Symfony/Tests/Component/Locale