symfony/symfony — pull request #4081 by stealth35 (2012-04-23 12:06:04+00:00)
Title: [Locale] add StubResourceBundle

```
Bug fix: yes (missing feature)
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
```

- Support `res` file, version `1.2`
- Few change :
- `Locale::getFallbackLocale` is now `public`
- Skip the `StubCollator` in `Locale::getDisplayLanguages`, `getDisplayLocales`, `getDisplayCountries`

``` php
asort($languages);

// after
if ('en' !== $locale && !extension_loaded('intl')) {
asort($languages);
} else {
$collator = new \Collator($locale);
$collator->asort($languages);
}
```