{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/460","repository_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server","labels_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/460/comments","events_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/460/events","html_url":"https://github.com/openfoodfacts/openfoodfacts-server/issues/460","id":176024226,"number":460,"title":"Include all multilingual images in json","user":{"login":"aleene","id":1329905,"avatar_url":"https://avatars.githubusercontent.com/u/1329905?v=3","gravatar_id":"","url":"https://api.github.com/users/aleene","html_url":"https://github.com/aleene","followers_url":"https://api.github.com/users/aleene/followers","following_url":"https://api.github.com/users/aleene/following{/other_user}","gists_url":"https://api.github.com/users/aleene/gists{/gist_id}","starred_url":"https://api.github.com/users/aleene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleene/subscriptions","organizations_url":"https://api.github.com/users/aleene/orgs","repos_url":"https://api.github.com/users/aleene/repos","events_url":"https://api.github.com/users/aleene/events{/privacy}","received_events_url":"https://api.github.com/users/aleene/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/labels/api","name":"api","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"hangy","id":87124,"avatar_url":"https://avatars.githubusercontent.com/u/87124?v=3","gravatar_id":"","url":"https://api.github.com/users/hangy","html_url":"https://github.com/hangy","followers_url":"https://api.github.com/users/hangy/followers","following_url":"https://api.github.com/users/hangy/following{/other_user}","gists_url":"https://api.github.com/users/hangy/gists{/gist_id}","starred_url":"https://api.github.com/users/hangy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hangy/subscriptions","organizations_url":"https://api.github.com/users/hangy/orgs","repos_url":"https://api.github.com/users/hangy/repos","events_url":"https://api.github.com/users/hangy/events{/privacy}","received_events_url":"https://api.github.com/users/hangy/received_events","type":"User","site_admin":false},"assignees":[{"login":"hangy","id":87124,"avatar_url":"https://avatars.githubusercontent.com/u/87124?v=3","gravatar_id":"","url":"https://api.github.com/users/hangy","html_url":"https://github.com/hangy","followers_url":"https://api.github.com/users/hangy/followers","following_url":"https://api.github.com/users/hangy/following{/other_user}","gists_url":"https://api.github.com/users/hangy/gists{/gist_id}","starred_url":"https://api.github.com/users/hangy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hangy/subscriptions","organizations_url":"https://api.github.com/users/hangy/orgs","repos_url":"https://api.github.com/users/hangy/repos","events_url":"https://api.github.com/users/hangy/events{/privacy}","received_events_url":"https://api.github.com/users/hangy/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/milestones/9","html_url":"https://github.com/openfoodfacts/openfoodfacts-server/milestones/Multilingual%20Products","labels_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/milestones/9/labels","id":1762022,"number":9,"title":"Multilingual Products","description":"","creator":{"login":"teolemon","id":1689815,"avatar_url":"https://avatars.githubusercontent.com/u/1689815?v=3","gravatar_id":"","url":"https://api.github.com/users/teolemon","html_url":"https://github.com/teolemon","followers_url":"https://api.github.com/users/teolemon/followers","following_url":"https://api.github.com/users/teolemon/following{/other_user}","gists_url":"https://api.github.com/users/teolemon/gists{/gist_id}","starred_url":"https://api.github.com/users/teolemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teolemon/subscriptions","organizations_url":"https://api.github.com/users/teolemon/orgs","repos_url":"https://api.github.com/users/teolemon/repos","events_url":"https://api.github.com/users/teolemon/events{/privacy}","received_events_url":"https://api.github.com/users/teolemon/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":2,"state":"open","created_at":"2016-05-12T10:08:41Z","updated_at":"2016-09-11T08:25:22Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-09-09T14:32:21Z","updated_at":"2016-10-10T14:44:59Z","closed_at":null,"body":"The world read json does not include all urls for the images, it only contains the images for a single language. This makes it very hard to create apps that support multiple languages.\r\n\r\nInclude the urls of the image urls for the other languages as well."},"comment":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/comments/252642321","html_url":"https://github.com/openfoodfacts/openfoodfacts-server/issues/460#issuecomment-252642321","issue_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/460","id":252642321,"user":{"login":"aleene","id":1329905,"avatar_url":"https://avatars.githubusercontent.com/u/1329905?v=3","gravatar_id":"","url":"https://api.github.com/users/aleene","html_url":"https://github.com/aleene","followers_url":"https://api.github.com/users/aleene/followers","following_url":"https://api.github.com/users/aleene/following{/other_user}","gists_url":"https://api.github.com/users/aleene/gists{/gist_id}","starred_url":"https://api.github.com/users/aleene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleene/subscriptions","organizations_url":"https://api.github.com/users/aleene/orgs","repos_url":"https://api.github.com/users/aleene/repos","events_url":"https://api.github.com/users/aleene/events{/privacy}","received_events_url":"https://api.github.com/users/aleene/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T14:44:59Z","updated_at":"2016-10-10T14:44:59Z","body":"I think I would put the different languages lower, i.e. under ingredients, nutrition, front. Seems more logic. Even under display/small/thumb.\r\nI intend to store the urls for a specific image as a dictionary with the langauges as keys. So for me, it would be:\r\n```\r\n{\r\n   \"code\":\"4311501452998\",\r\n   \"status\":1,\r\n   \"status_verbose\":\"product found\",\r\n   \"product\":{\r\n      \"selected_images\":{\r\n         \"front\":{\r\n               \"display\":{\r\n                     \"de\":\"http://static....\",\r\n                     \"fr\":\"http://static....\",\r\n                },\r\n               \"small\":{\r\n                 \"de\":\"http://static....\"\r\n               },\r\n               \"thumb\":{\r\n                  \"fr\":\"http://static....\"\r\n               },\r\n         },\r\n         \"nutrition\":{\r\n               \"display\":{\r\n                   \"fr\":\"http://static....\"\r\n                },\r\n               \"small\":{\r\n                   \"fr\":\"http://static....\"\r\n               },\r\n               \"thumb\":{\r\n                    \"fr\":\"http://static....\"\r\n                },\r\n            },\r\n            \"ingredients\":{\r\n               \"display\":{\r\n                     \"fr\":\"http://static....\"\r\n                },\r\n               \"small\":{\r\n                        \"fr\":\"http://static....\"\r\n                },\r\n               \"thumb\":{\r\n                      \"fr\":\"http://static....\"\r\n                }\r\n            },\r\n            \"front\":{\r\n               \"display\":{\r\n                   \"fr\":\"http://static....\"\r\n                },\r\n               \"small\":{\r\n                    \"fr\":\"http://static....\"\r\n               },\r\n               \"thumb\":{\r\n                    \"fr\":\"http://static....\"\r\n                }\r\n            }\r\n         }\r\n      }\r\n   }\r\n}\r\n```"}}
{"actor":{"display_login":"aleene"}}