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

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