{"action":"created","issue":{"url":"https://api.github.com/repos/Fabrik/fabrik/issues/1605","repository_url":"https://api.github.com/repos/Fabrik/fabrik","labels_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1605/labels{/name}","comments_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1605/comments","events_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1605/events","html_url":"https://github.com/Fabrik/fabrik/issues/1605","id":123668391,"number":1605,"title":"form success message is not showing correctly","user":{"login":"giruf","id":15923712,"avatar_url":"https://avatars.githubusercontent.com/u/15923712?v=3","gravatar_id":"","url":"https://api.github.com/users/giruf","html_url":"https://github.com/giruf","followers_url":"https://api.github.com/users/giruf/followers","following_url":"https://api.github.com/users/giruf/following{/other_user}","gists_url":"https://api.github.com/users/giruf/gists{/gist_id}","starred_url":"https://api.github.com/users/giruf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giruf/subscriptions","organizations_url":"https://api.github.com/users/giruf/orgs","repos_url":"https://api.github.com/users/giruf/repos","events_url":"https://api.github.com/users/giruf/events{/privacy}","received_events_url":"https://api.github.com/users/giruf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-23T14:28:09Z","updated_at":"2016-03-14T21:14:30Z","closed_at":"2016-03-14T21:14:30Z","body":"The success message shown after clicking save on a form is translated correctly only once per session.\r\nI have 2 language on my site, english and italian.,\r\nI configured language overrides for the success message string for both languages.\r\nSo if I save the form while using english it will show the english message correctly.\r\nBut if at this point I switch to italian and I save the form it will show again the english message.\r\n\r\nThe same happens If i first save the form in Italian and then I switch to english, it will show Italian message for both languages.\r\n\r\nI solved the problem for the moment modifying file /components/com_fabrik/models/form.php:\r\n\r\ncommented out around line 5120:\r\n//$sMsg = $this->session->get($context . 'msg', array($msg));\r\n\r\nand added immediately after:\r\n$sMsg = \"\";"},"comment":{"url":"https://api.github.com/repos/Fabrik/fabrik/issues/comments/196524329","html_url":"https://github.com/Fabrik/fabrik/issues/1605#issuecomment-196524329","issue_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1605","id":196524329,"user":{"login":"felixkat","id":1116451,"avatar_url":"https://avatars.githubusercontent.com/u/1116451?v=3","gravatar_id":"","url":"https://api.github.com/users/felixkat","html_url":"https://github.com/felixkat","followers_url":"https://api.github.com/users/felixkat/followers","following_url":"https://api.github.com/users/felixkat/following{/other_user}","gists_url":"https://api.github.com/users/felixkat/gists{/gist_id}","starred_url":"https://api.github.com/users/felixkat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixkat/subscriptions","organizations_url":"https://api.github.com/users/felixkat/orgs","repos_url":"https://api.github.com/users/felixkat/repos","events_url":"https://api.github.com/users/felixkat/events{/privacy}","received_events_url":"https://api.github.com/users/felixkat/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T21:14:30Z","updated_at":"2016-03-14T21:14:30Z","body":"No response from OP so cannot confirm the issue."}}