{"action":"created","issue":{"url":"https://api.github.com/repos/libgraviton/graviton/issues/84","labels_url":"https://api.github.com/repos/libgraviton/graviton/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/libgraviton/graviton/issues/84/comments","events_url":"https://api.github.com/repos/libgraviton/graviton/issues/84/events","html_url":"https://github.com/libgraviton/graviton/pull/84","id":65240713,"number":84,"title":"fix translation","user":{"login":"narcoticfresh","id":245441,"avatar_url":"https://avatars.githubusercontent.com/u/245441?v=3","gravatar_id":"","url":"https://api.github.com/users/narcoticfresh","html_url":"https://github.com/narcoticfresh","followers_url":"https://api.github.com/users/narcoticfresh/followers","following_url":"https://api.github.com/users/narcoticfresh/following{/other_user}","gists_url":"https://api.github.com/users/narcoticfresh/gists{/gist_id}","starred_url":"https://api.github.com/users/narcoticfresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narcoticfresh/subscriptions","organizations_url":"https://api.github.com/users/narcoticfresh/orgs","repos_url":"https://api.github.com/users/narcoticfresh/repos","events_url":"https://api.github.com/users/narcoticfresh/events{/privacy}","received_events_url":"https://api.github.com/users/narcoticfresh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"hairmare","id":116588,"avatar_url":"https://avatars.githubusercontent.com/u/116588?v=3","gravatar_id":"","url":"https://api.github.com/users/hairmare","html_url":"https://github.com/hairmare","followers_url":"https://api.github.com/users/hairmare/followers","following_url":"https://api.github.com/users/hairmare/following{/other_user}","gists_url":"https://api.github.com/users/hairmare/gists{/gist_id}","starred_url":"https://api.github.com/users/hairmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairmare/subscriptions","organizations_url":"https://api.github.com/users/hairmare/orgs","repos_url":"https://api.github.com/users/hairmare/repos","events_url":"https://api.github.com/users/hairmare/events{/privacy}","received_events_url":"https://api.github.com/users/hairmare/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-03-30T15:42:22Z","updated_at":"2015-03-31T17:33:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libgraviton/graviton/pulls/84","html_url":"https://github.com/libgraviton/graviton/pull/84","diff_url":"https://github.com/libgraviton/graviton/pull/84.diff","patch_url":"https://github.com/libgraviton/graviton/pull/84.patch"},"body":"i'm not trying to re-invent the translation wheel or fix all broken things. This PR just wants translation to actually *work*\r\n\r\nIt corrects some bugs:\r\n* Make sure that both Listeners use the same `domain` for there translation (thus finding them in the first place)\r\n* Touch the trigger file for the loader not only when the file *doesn't* exist..\r\n* Create a new `I18nUtils` service that keeps all this stuff in one place - it is called `intUtils` in the classes as `$i18nUtils` is not valid according to syntax check.\r\n\r\nAfter this merge, translations actually and really work across all controllers. Hooray!\r\n\r\n- [x] move default locale to config.yml - shouldn't be a param\r\n- [x] more save checks in event (postpersist)\r\n- [x] look for alternative for `touch()` - a `fopen($fp, 'w+')` also truncates a file automatically\r\n- [x] rename `intUtils` to `utils` in classes.."},"comment":{"url":"https://api.github.com/repos/libgraviton/graviton/issues/comments/88180521","html_url":"https://github.com/libgraviton/graviton/pull/84#issuecomment-88180521","issue_url":"https://api.github.com/repos/libgraviton/graviton/issues/84","id":88180521,"user":{"login":"hairmare","id":116588,"avatar_url":"https://avatars.githubusercontent.com/u/116588?v=3","gravatar_id":"","url":"https://api.github.com/users/hairmare","html_url":"https://github.com/hairmare","followers_url":"https://api.github.com/users/hairmare/followers","following_url":"https://api.github.com/users/hairmare/following{/other_user}","gists_url":"https://api.github.com/users/hairmare/gists{/gist_id}","starred_url":"https://api.github.com/users/hairmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairmare/subscriptions","organizations_url":"https://api.github.com/users/hairmare/orgs","repos_url":"https://api.github.com/users/hairmare/repos","events_url":"https://api.github.com/users/hairmare/events{/privacy}","received_events_url":"https://api.github.com/users/hairmare/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T17:33:51Z","updated_at":"2015-03-31T17:33:51Z","body":"@narcoticfresh I would have merged this had travis not failed. You might need to ``rm -rf app/cache`` to make sure everything acts the same way as on travis locally."}}