{"action":"created","issue":{"url":"https://api.github.com/repos/mysociety/fixmystreet/issues/1244","repository_url":"https://api.github.com/repos/mysociety/fixmystreet","labels_url":"https://api.github.com/repos/mysociety/fixmystreet/issues/1244/labels{/name}","comments_url":"https://api.github.com/repos/mysociety/fixmystreet/issues/1244/comments","events_url":"https://api.github.com/repos/mysociety/fixmystreet/issues/1244/events","html_url":"https://github.com/mysociety/fixmystreet/issues/1244","id":109954344,"number":1244,"title":"Translatable body names","user":{"login":"dracos","id":154364,"avatar_url":"https://avatars0.githubusercontent.com/u/154364?v=4","gravatar_id":"","url":"https://api.github.com/users/dracos","html_url":"https://github.com/dracos","followers_url":"https://api.github.com/users/dracos/followers","following_url":"https://api.github.com/users/dracos/following{/other_user}","gists_url":"https://api.github.com/users/dracos/gists{/gist_id}","starred_url":"https://api.github.com/users/dracos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracos/subscriptions","organizations_url":"https://api.github.com/users/dracos/orgs","repos_url":"https://api.github.com/users/dracos/repos","events_url":"https://api.github.com/users/dracos/events{/privacy}","received_events_url":"https://api.github.com/users/dracos/received_events","type":"User","site_admin":false},"labels":[{"id":84269449,"url":"https://api.github.com/repos/mysociety/fixmystreet/labels/In%20progress","name":"In progress","color":"e11d21","default":false},{"id":657051548,"url":"https://api.github.com/repos/mysociety/fixmystreet/labels/NDI","name":"NDI","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"dracos","id":154364,"avatar_url":"https://avatars0.githubusercontent.com/u/154364?v=4","gravatar_id":"","url":"https://api.github.com/users/dracos","html_url":"https://github.com/dracos","followers_url":"https://api.github.com/users/dracos/followers","following_url":"https://api.github.com/users/dracos/following{/other_user}","gists_url":"https://api.github.com/users/dracos/gists{/gist_id}","starred_url":"https://api.github.com/users/dracos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracos/subscriptions","organizations_url":"https://api.github.com/users/dracos/orgs","repos_url":"https://api.github.com/users/dracos/repos","events_url":"https://api.github.com/users/dracos/events{/privacy}","received_events_url":"https://api.github.com/users/dracos/received_events","type":"User","site_admin":false},"assignees":[{"login":"dracos","id":154364,"avatar_url":"https://avatars0.githubusercontent.com/u/154364?v=4","gravatar_id":"","url":"https://api.github.com/users/dracos","html_url":"https://github.com/dracos","followers_url":"https://api.github.com/users/dracos/followers","following_url":"https://api.github.com/users/dracos/following{/other_user}","gists_url":"https://api.github.com/users/dracos/gists{/gist_id}","starred_url":"https://api.github.com/users/dracos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracos/subscriptions","organizations_url":"https://api.github.com/users/dracos/orgs","repos_url":"https://api.github.com/users/dracos/repos","events_url":"https://api.github.com/users/dracos/events{/privacy}","received_events_url":"https://api.github.com/users/dracos/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2015-10-06T07:53:54Z","updated_at":"2017-08-10T13:29:07Z","closed_at":"2017-08-10T13:29:07Z","body":"If a site is available in multiple languages, you might want to show different body names depending on the language the site is being viewed in. Currently a body only has one name which is shown at all times.\r\n\r\nThe [`1244-corps-translatable-body-names`](https://github.com/mysociety/fixmystreet/compare/1244-corps-translatable-body-names) branch has a translation table, a hook to set the \"DB language\" (as it were) whenever `set_lang_and_domain` is called, and hooks for body->name, contact->category/problem->category (`_display` for those two) to look up an entry in that table using that language.\r\nStill to do is admin interface for translation table (either its own page, and/or when you edit body/category). Dealing with translated name in /reports/HERE URLs. And probably something else obvious missing."},"comment":{"url":"https://api.github.com/repos/mysociety/fixmystreet/issues/comments/321551012","html_url":"https://github.com/mysociety/fixmystreet/issues/1244#issuecomment-321551012","issue_url":"https://api.github.com/repos/mysociety/fixmystreet/issues/1244","id":321551012,"user":{"login":"dracos","id":154364,"avatar_url":"https://avatars0.githubusercontent.com/u/154364?v=4","gravatar_id":"","url":"https://api.github.com/users/dracos","html_url":"https://github.com/dracos","followers_url":"https://api.github.com/users/dracos/followers","following_url":"https://api.github.com/users/dracos/following{/other_user}","gists_url":"https://api.github.com/users/dracos/gists{/gist_id}","starred_url":"https://api.github.com/users/dracos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracos/subscriptions","organizations_url":"https://api.github.com/users/dracos/orgs","repos_url":"https://api.github.com/users/dracos/repos","events_url":"https://api.github.com/users/dracos/events{/privacy}","received_events_url":"https://api.github.com/users/dracos/received_events","type":"User","site_admin":false},"created_at":"2017-08-10T13:29:07Z","updated_at":"2017-08-10T13:29:07Z","body":"This was done by #1784"}}
{"actor":{"display_login":"dracos"}}