{"action":"created","issue":{"url":"https://api.github.com/repos/i18next/i18next/issues/1026","repository_url":"https://api.github.com/repos/i18next/i18next","labels_url":"https://api.github.com/repos/i18next/i18next/issues/1026/labels{/name}","comments_url":"https://api.github.com/repos/i18next/i18next/issues/1026/comments","events_url":"https://api.github.com/repos/i18next/i18next/issues/1026/events","html_url":"https://github.com/i18next/i18next/issues/1026","id":301071024,"number":1026,"title":"changeLanguage do not generate error","user":{"login":"newbie78","id":28735,"avatar_url":"https://avatars1.githubusercontent.com/u/28735?v=4","gravatar_id":"","url":"https://api.github.com/users/newbie78","html_url":"https://github.com/newbie78","followers_url":"https://api.github.com/users/newbie78/followers","following_url":"https://api.github.com/users/newbie78/following{/other_user}","gists_url":"https://api.github.com/users/newbie78/gists{/gist_id}","starred_url":"https://api.github.com/users/newbie78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newbie78/subscriptions","organizations_url":"https://api.github.com/users/newbie78/orgs","repos_url":"https://api.github.com/users/newbie78/repos","events_url":"https://api.github.com/users/newbie78/events{/privacy}","received_events_url":"https://api.github.com/users/newbie78/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-28T15:36:37Z","updated_at":"2018-03-12T14:35:30Z","closed_at":"2018-03-12T14:35:02Z","author_association":"NONE","body":"Hi to all\r\nHow to get an error if the incoming language is not present in the resources list?\r\n```\r\n    i18next.changeLanguage(to.params.lang, (err, t) => {\r\n      console.log(err)\r\n    })\r\n```\r\nIn the example I get null when the language is present in the list and when it is not there. Even if the language is \"asdasd\" - I still get null.\r\n\r\nthanks\r\n"},"comment":{"url":"https://api.github.com/repos/i18next/i18next/issues/comments/372330947","html_url":"https://github.com/i18next/i18next/issues/1026#issuecomment-372330947","issue_url":"https://api.github.com/repos/i18next/i18next/issues/1026","id":372330947,"user":{"login":"jamuhl","id":977772,"avatar_url":"https://avatars3.githubusercontent.com/u/977772?v=4","gravatar_id":"","url":"https://api.github.com/users/jamuhl","html_url":"https://github.com/jamuhl","followers_url":"https://api.github.com/users/jamuhl/followers","following_url":"https://api.github.com/users/jamuhl/following{/other_user}","gists_url":"https://api.github.com/users/jamuhl/gists{/gist_id}","starred_url":"https://api.github.com/users/jamuhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamuhl/subscriptions","organizations_url":"https://api.github.com/users/jamuhl/orgs","repos_url":"https://api.github.com/users/jamuhl/repos","events_url":"https://api.github.com/users/jamuhl/events{/privacy}","received_events_url":"https://api.github.com/users/jamuhl/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T14:35:30Z","updated_at":"2018-03-12T14:35:30Z","author_association":"OWNER","body":"Feel free to reopen if still an issue..."}}
{"actor":{"display_login":"jamuhl"}}