{"action":"closed","issue":{"url":"https://api.github.com/repos/FWAJL/FieldWorkManager/issues/1088","labels_url":"https://api.github.com/repos/FWAJL/FieldWorkManager/issues/1088/labels{/name}","comments_url":"https://api.github.com/repos/FWAJL/FieldWorkManager/issues/1088/comments","events_url":"https://api.github.com/repos/FWAJL/FieldWorkManager/issues/1088/events","html_url":"https://github.com/FWAJL/FieldWorkManager/issues/1088","id":94379955,"number":1088,"title":"Create a general Resx file for text common to mutiple pages","user":{"login":"bsaiken","id":8228624,"avatar_url":"https://avatars.githubusercontent.com/u/8228624?v=3","gravatar_id":"","url":"https://api.github.com/users/bsaiken","html_url":"https://github.com/bsaiken","followers_url":"https://api.github.com/users/bsaiken/followers","following_url":"https://api.github.com/users/bsaiken/following{/other_user}","gists_url":"https://api.github.com/users/bsaiken/gists{/gist_id}","starred_url":"https://api.github.com/users/bsaiken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsaiken/subscriptions","organizations_url":"https://api.github.com/users/bsaiken/orgs","repos_url":"https://api.github.com/users/bsaiken/repos","events_url":"https://api.github.com/users/bsaiken/events{/privacy}","received_events_url":"https://api.github.com/users/bsaiken/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FWAJL/FieldWorkManager/labels/priority:low","name":"priority:low","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-10T19:55:06Z","updated_at":"2015-07-21T22:48:26Z","closed_at":"2015-07-21T22:48:26Z","body":"You need to define a new common variable in BaseController->AddCommonVarsToPage (see line 244 => $resx_left_menu = $this->app->i8n->getCommonResourceArray(Enums\\ResourceKeys\\ResxFileNameKeys::MenuLeft);).\r\n\r\nYou need to give a name: \"resx_data\" and you get the data using the resource file name (add a ResxFileNameKeys and set the constant value to be your resource file name).\r\n\r\nYou can create a generic_resource for example in Applications/PMTool/Resources/Common.\r\n\r\nI hope that helps."}}