{"action":"created","issue":{"url":"https://api.github.com/repos/ocombe/ng2-translate/issues/280","repository_url":"https://api.github.com/repos/ocombe/ng2-translate","labels_url":"https://api.github.com/repos/ocombe/ng2-translate/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/ocombe/ng2-translate/issues/280/comments","events_url":"https://api.github.com/repos/ocombe/ng2-translate/issues/280/events","html_url":"https://github.com/ocombe/ng2-translate/issues/280","id":183304499,"number":280,"title":"Problem with WKWebView","user":{"login":"Bouzmine","id":15067923,"avatar_url":"https://avatars.githubusercontent.com/u/15067923?v=3","gravatar_id":"","url":"https://api.github.com/users/Bouzmine","html_url":"https://github.com/Bouzmine","followers_url":"https://api.github.com/users/Bouzmine/followers","following_url":"https://api.github.com/users/Bouzmine/following{/other_user}","gists_url":"https://api.github.com/users/Bouzmine/gists{/gist_id}","starred_url":"https://api.github.com/users/Bouzmine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bouzmine/subscriptions","organizations_url":"https://api.github.com/users/Bouzmine/orgs","repos_url":"https://api.github.com/users/Bouzmine/repos","events_url":"https://api.github.com/users/Bouzmine/events{/privacy}","received_events_url":"https://api.github.com/users/Bouzmine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-17T00:47:08Z","updated_at":"2016-11-30T06:54:37Z","closed_at":"2016-11-30T06:54:37Z","body":"**I'm submitting a ...**  (check one with \"x\")\n\n```\n[x] bug report => check the FAQ and search github for a similar issue or PR before submitting\n[ ] support request => check the FAQ and search github for a similar issue before submitting\n[ ] feature request\n```\n\n**Current behavior**\nWhen using WKWebView with Ionic 2, the translation file is loaded, but the translation tokens are not shown until you do something (like changing of tab which I think triggers change detection). I tried to trigger the change detection manually, but it didn't work. The `onLangChange` observable works. Was working fine in UIWebView.\n\nI also that the earlier the package is initialized, the more often the bug happens.\n\n**Expected/desired behavior**\nThe translation tokens to be replaced by the actual translation strings.\n\n**Reproduction of the problem**\nYou see the code used [here](http://github.com/bouzmine/metho).\n\n**Please tell us about your environment:**\n- **ng2-translate version:** 3.1.2\n- **Angular version:** 2.0.0\n- **Browser:** iOS 10 WKWebView\n- **Language:** TypeScript 2.0\n"},"comment":{"url":"https://api.github.com/repos/ocombe/ng2-translate/issues/comments/263797941","html_url":"https://github.com/ocombe/ng2-translate/issues/280#issuecomment-263797941","issue_url":"https://api.github.com/repos/ocombe/ng2-translate/issues/280","id":263797941,"user":{"login":"SamVerschueren","id":1913805,"avatar_url":"https://avatars.githubusercontent.com/u/1913805?v=3","gravatar_id":"","url":"https://api.github.com/users/SamVerschueren","html_url":"https://github.com/SamVerschueren","followers_url":"https://api.github.com/users/SamVerschueren/followers","following_url":"https://api.github.com/users/SamVerschueren/following{/other_user}","gists_url":"https://api.github.com/users/SamVerschueren/gists{/gist_id}","starred_url":"https://api.github.com/users/SamVerschueren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamVerschueren/subscriptions","organizations_url":"https://api.github.com/users/SamVerschueren/orgs","repos_url":"https://api.github.com/users/SamVerschueren/repos","events_url":"https://api.github.com/users/SamVerschueren/events{/privacy}","received_events_url":"https://api.github.com/users/SamVerschueren/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T06:54:37Z","updated_at":"2016-11-30T06:54:37Z","body":"Thanks for following up on this @biesbjerg! I'm going to close this one because it seems that it's not `ng2-translate` whose failing."}}
{"actor":{"display_login":"SamVerschueren"}}