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

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