{"action":"created","issue":{"url":"https://api.github.com/repos/willdurand/BazingaJsTranslationBundle/issues/135","labels_url":"https://api.github.com/repos/willdurand/BazingaJsTranslationBundle/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/willdurand/BazingaJsTranslationBundle/issues/135/comments","events_url":"https://api.github.com/repos/willdurand/BazingaJsTranslationBundle/issues/135/events","html_url":"https://github.com/willdurand/BazingaJsTranslationBundle/issues/135","id":71253608,"number":135,"title":"Locales with region are not supported","user":{"login":"Agares","id":303398,"avatar_url":"https://avatars.githubusercontent.com/u/303398?v=3","gravatar_id":"","url":"https://api.github.com/users/Agares","html_url":"https://github.com/Agares","followers_url":"https://api.github.com/users/Agares/followers","following_url":"https://api.github.com/users/Agares/following{/other_user}","gists_url":"https://api.github.com/users/Agares/gists{/gist_id}","starred_url":"https://api.github.com/users/Agares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Agares/subscriptions","organizations_url":"https://api.github.com/users/Agares/orgs","repos_url":"https://api.github.com/users/Agares/repos","events_url":"https://api.github.com/users/Agares/events{/privacy}","received_events_url":"https://api.github.com/users/Agares/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-27T11:15:02Z","updated_at":"2015-05-15T08:36:57Z","closed_at":null,"body":"Hey, when I have my html lang attribute defined as \"de-DE\", which is correct, according to http://www.ietf.org/rfc/bcp/bcp47.txt and import translations for \"de\" (<script src=\"{{ url('bazinga_jstranslation_js') }}?locales=de\"></script>), then Translator.trans('MyMessage') returns message in default language (I expect it to return them in german)."},"comment":{"url":"https://api.github.com/repos/willdurand/BazingaJsTranslationBundle/issues/comments/102318456","html_url":"https://github.com/willdurand/BazingaJsTranslationBundle/issues/135#issuecomment-102318456","issue_url":"https://api.github.com/repos/willdurand/BazingaJsTranslationBundle/issues/135","id":102318456,"user":{"login":"Agares","id":303398,"avatar_url":"https://avatars.githubusercontent.com/u/303398?v=3","gravatar_id":"","url":"https://api.github.com/users/Agares","html_url":"https://github.com/Agares","followers_url":"https://api.github.com/users/Agares/followers","following_url":"https://api.github.com/users/Agares/following{/other_user}","gists_url":"https://api.github.com/users/Agares/gists{/gist_id}","starred_url":"https://api.github.com/users/Agares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Agares/subscriptions","organizations_url":"https://api.github.com/users/Agares/orgs","repos_url":"https://api.github.com/users/Agares/repos","events_url":"https://api.github.com/users/Agares/events{/privacy}","received_events_url":"https://api.github.com/users/Agares/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T08:36:57Z","updated_at":"2015-05-15T08:36:57Z","body":"Symfony translators looks first for messages.de_DE.yml, then messages.de.yml."}}