{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataIntlBundle/issues/112","repository_url":"https://api.github.com/repos/sonata-project/SonataIntlBundle","labels_url":"https://api.github.com/repos/sonata-project/SonataIntlBundle/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataIntlBundle/issues/112/comments","events_url":"https://api.github.com/repos/sonata-project/SonataIntlBundle/issues/112/events","html_url":"https://github.com/sonata-project/SonataIntlBundle/issues/112","id":151583674,"number":112,"title":"Region ignored in language filter","user":{"login":"Bullettoothtobi","id":1310035,"avatar_url":"https://avatars.githubusercontent.com/u/1310035?v=3","gravatar_id":"","url":"https://api.github.com/users/Bullettoothtobi","html_url":"https://github.com/Bullettoothtobi","followers_url":"https://api.github.com/users/Bullettoothtobi/followers","following_url":"https://api.github.com/users/Bullettoothtobi/following{/other_user}","gists_url":"https://api.github.com/users/Bullettoothtobi/gists{/gist_id}","starred_url":"https://api.github.com/users/Bullettoothtobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bullettoothtobi/subscriptions","organizations_url":"https://api.github.com/users/Bullettoothtobi/orgs","repos_url":"https://api.github.com/users/Bullettoothtobi/repos","events_url":"https://api.github.com/users/Bullettoothtobi/events{/privacy}","received_events_url":"https://api.github.com/users/Bullettoothtobi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T08:52:59Z","updated_at":"2016-04-28T08:54:31Z","closed_at":null,"body":"There is a bug in LocaleHelper.php :\r\n`$name = Intl::getLanguageBundle()->getLanguageName($codes[0], isset($codes[1]) ? $code[1] : null, $locale ?: $this->localeDetector->getLocale());`\r\n\r\nParameter $code[1] should be $codes[1].\r\nRight now the region is being ignored."},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataIntlBundle/issues/comments/215356861","html_url":"https://github.com/sonata-project/SonataIntlBundle/issues/112#issuecomment-215356861","issue_url":"https://api.github.com/repos/sonata-project/SonataIntlBundle/issues/112","id":215356861,"user":{"login":"greg0ire","id":657779,"avatar_url":"https://avatars.githubusercontent.com/u/657779?v=3","gravatar_id":"","url":"https://api.github.com/users/greg0ire","html_url":"https://github.com/greg0ire","followers_url":"https://api.github.com/users/greg0ire/followers","following_url":"https://api.github.com/users/greg0ire/following{/other_user}","gists_url":"https://api.github.com/users/greg0ire/gists{/gist_id}","starred_url":"https://api.github.com/users/greg0ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg0ire/subscriptions","organizations_url":"https://api.github.com/users/greg0ire/orgs","repos_url":"https://api.github.com/users/greg0ire/repos","events_url":"https://api.github.com/users/greg0ire/events{/privacy}","received_events_url":"https://api.github.com/users/greg0ire/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T08:54:31Z","updated_at":"2016-04-28T08:54:31Z","body":"I think you are right. Would you kindly make a pull request ?"}}