{"action":"created","issue":{"url":"https://api.github.com/repos/TAPevents/tap-i18n/issues/133","labels_url":"https://api.github.com/repos/TAPevents/tap-i18n/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/TAPevents/tap-i18n/issues/133/comments","events_url":"https://api.github.com/repos/TAPevents/tap-i18n/issues/133/events","html_url":"https://github.com/TAPevents/tap-i18n/issues/133","id":123783540,"number":133,"title":"Weird behaviour and language mix","user":{"login":"derwaldgeist","id":3984535,"avatar_url":"https://avatars.githubusercontent.com/u/3984535?v=3","gravatar_id":"","url":"https://api.github.com/users/derwaldgeist","html_url":"https://github.com/derwaldgeist","followers_url":"https://api.github.com/users/derwaldgeist/followers","following_url":"https://api.github.com/users/derwaldgeist/following{/other_user}","gists_url":"https://api.github.com/users/derwaldgeist/gists{/gist_id}","starred_url":"https://api.github.com/users/derwaldgeist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derwaldgeist/subscriptions","organizations_url":"https://api.github.com/users/derwaldgeist/orgs","repos_url":"https://api.github.com/users/derwaldgeist/repos","events_url":"https://api.github.com/users/derwaldgeist/events{/privacy}","received_events_url":"https://api.github.com/users/derwaldgeist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-24T09:58:03Z","updated_at":"2015-12-26T18:59:23Z","closed_at":null,"body":"I am using this package for a while, and it worked quite well, thanks.\r\n\r\nBut now I faced a very weird behaviour in one of my dialogs. Sometimes, this dialog shows up in the correct language, sometimes it reverts to English. And sometimes, I see a strange mix of two languages, in the very same dialog.\r\n\r\nI checked the JSON for this dialog, everything seems to be ok, and also the linter does not complain.\r\n\r\nWhat makes it even weirder: If this problem occurs and I force the compiler to rebuild the JSON file (e.g. by removing keys from it), the problem sometime goes away. And if I re-add the very same keys I had removed before, it still works correctly. So everything works now with exact the *same* JSON file I initially used when the problem occured.\r\n\r\nUntil next time, when I add another key and things start to become weird again.\r\n\r\nAny idea what might cause this?"},"comment":{"url":"https://api.github.com/repos/TAPevents/tap-i18n/issues/comments/167354586","html_url":"https://github.com/TAPevents/tap-i18n/issues/133#issuecomment-167354586","issue_url":"https://api.github.com/repos/TAPevents/tap-i18n/issues/133","id":167354586,"user":{"login":"derwaldgeist","id":3984535,"avatar_url":"https://avatars.githubusercontent.com/u/3984535?v=3","gravatar_id":"","url":"https://api.github.com/users/derwaldgeist","html_url":"https://github.com/derwaldgeist","followers_url":"https://api.github.com/users/derwaldgeist/followers","following_url":"https://api.github.com/users/derwaldgeist/following{/other_user}","gists_url":"https://api.github.com/users/derwaldgeist/gists{/gist_id}","starred_url":"https://api.github.com/users/derwaldgeist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derwaldgeist/subscriptions","organizations_url":"https://api.github.com/users/derwaldgeist/orgs","repos_url":"https://api.github.com/users/derwaldgeist/repos","events_url":"https://api.github.com/users/derwaldgeist/events{/privacy}","received_events_url":"https://api.github.com/users/derwaldgeist/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T18:59:23Z","updated_at":"2015-12-26T18:59:23Z","body":"This problem is completely indeterministic. I tried to track it down to remove keys one by one. Still, sometimes the problem occured, sometimes not. I now separated the JSON in two separate files which together include exact the same keys as before - and the problem disappeared. Maybe a race condition white building the files? But still would not explain why exactly one key was affected."}}