{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1765","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1765/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1765/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1765/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/1765","id":85637551,"number":1765,"title":"[Feature Request] Make API more translatable","user":{"login":"MGaetan89","id":1009664,"avatar_url":"https://avatars.githubusercontent.com/u/1009664?v=3","gravatar_id":"","url":"https://api.github.com/users/MGaetan89","html_url":"https://github.com/MGaetan89","followers_url":"https://api.github.com/users/MGaetan89/followers","following_url":"https://api.github.com/users/MGaetan89/following{/other_user}","gists_url":"https://api.github.com/users/MGaetan89/gists{/gist_id}","starred_url":"https://api.github.com/users/MGaetan89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MGaetan89/subscriptions","organizations_url":"https://api.github.com/users/MGaetan89/orgs","repos_url":"https://api.github.com/users/MGaetan89/repos","events_url":"https://api.github.com/users/MGaetan89/events{/privacy}","received_events_url":"https://api.github.com/users/MGaetan89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/1:%20Feature%20request","name":"1: Feature request","color":"84b6eb"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/API","name":"API","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-05T21:32:14Z","updated_at":"2015-09-26T06:39:39Z","closed_at":null,"body":"Hi,\r\n\r\nI am working on an Android application for SickRage. I'd like to make my application available in various languages, but the SickRage API returns hardcoded value in English.\r\n\r\nFor example, when calling `?cmd=show`, I have the following two information:\r\n\r\n```json\r\n{\r\n    \"airs\": \"Monday 8:00 PM\",\r\n    \"status\": \"Continuing\",\r\n}\r\n```\r\n\r\nWould it be possible to add more information to ease the translation process?\r\nFor example, for `airs`, add a `air_date` field that contains an integer representing the day (`0` for `Monday`, `1` for `Tuesday`, ...) and `air_time` that contains the time of the episode.\r\nFor `status`,  maybe a `status_id` which contains an integer ( `0` for `Unaired`, `1` for `Continuing`, ...). Unless you can guarantee that the current values in `status` won't change in the future?\r\n\r\nThis request is true for other API methods as well. This was just an example.\r\n\r\nAn other solution would be to support translations directly in SickRage (maybe by adding a `lang` or `locale` to each request). So the texts translations and date/time formatting is done by SickRage. If the provided value does not exists (or no value was provided), fallback to English so it does not break any existing tool using the API.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/143403923","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/1765#issuecomment-143403923","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1765","id":143403923,"user":{"login":"MGaetan89","id":1009664,"avatar_url":"https://avatars.githubusercontent.com/u/1009664?v=3","gravatar_id":"","url":"https://api.github.com/users/MGaetan89","html_url":"https://github.com/MGaetan89","followers_url":"https://api.github.com/users/MGaetan89/followers","following_url":"https://api.github.com/users/MGaetan89/following{/other_user}","gists_url":"https://api.github.com/users/MGaetan89/gists{/gist_id}","starred_url":"https://api.github.com/users/MGaetan89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MGaetan89/subscriptions","organizations_url":"https://api.github.com/users/MGaetan89/orgs","repos_url":"https://api.github.com/users/MGaetan89/repos","events_url":"https://api.github.com/users/MGaetan89/events{/privacy}","received_events_url":"https://api.github.com/users/MGaetan89/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T06:39:39Z","updated_at":"2015-09-26T06:39:39Z","body":"Yes, that's fine for me."}}