{"action":"created","issue":{"url":"https://api.github.com/repos/inveniosoftware/invenio/issues/776","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/776/labels{/name}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/776/comments","events_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/776/events","html_url":"https://github.com/inveniosoftware/invenio/issues/776","id":32546593,"number":776,"title":"Admin activities translation","user":{"login":"invenio-developers","id":7439566,"avatar_url":"https://avatars.githubusercontent.com/u/7439566?v=3","gravatar_id":"","url":"https://api.github.com/users/invenio-developers","html_url":"https://github.com/invenio-developers","followers_url":"https://api.github.com/users/invenio-developers/followers","following_url":"https://api.github.com/users/invenio-developers/following{/other_user}","gists_url":"https://api.github.com/users/invenio-developers/gists{/gist_id}","starred_url":"https://api.github.com/users/invenio-developers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invenio-developers/subscriptions","organizations_url":"https://api.github.com/users/invenio-developers/orgs","repos_url":"https://api.github.com/users/invenio-developers/repos","events_url":"https://api.github.com/users/invenio-developers/events{/privacy}","received_events_url":"https://api.github.com/users/invenio-developers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/c_WebAccess","name":"c_WebAccess","color":"ededed"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/p_trivial","name":"p_trivial","color":"f7c6c7"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/t_bug","name":"t_bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-04-30T15:42:49Z","updated_at":"2015-03-25T22:19:37Z","closed_at":"2015-03-25T22:19:37Z","body":"Originally by *Maddog* on 2011-08-11\n\nIn invenio.access_control_config.CFG_ACC_ACTIVITIES_URLS the names of the activities there shouldn't be translated (e.g. _(\"Run Record Editor\") should be just \"Run Record Editor\"). When your default language of the repository is not english and you have the translation for the activities, the activities names are forced in default language (in the drop down menu on homepage) all the time. I just pulled them out from the gettext function and it works just fine."},"comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio/issues/comments/86235334","html_url":"https://github.com/inveniosoftware/invenio/issues/776#issuecomment-86235334","issue_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/776","id":86235334,"user":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T22:19:37Z","updated_at":"2015-03-25T22:19:37Z","body":"Deprecated in `2.x` and replaced by *Flask-Admin* with full i18n support."}}