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

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