{"action":"created","issue":{"url":"https://api.github.com/repos/messageformat/messageformat.js/issues/158","repository_url":"https://api.github.com/repos/messageformat/messageformat.js","labels_url":"https://api.github.com/repos/messageformat/messageformat.js/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/messageformat/messageformat.js/issues/158/comments","events_url":"https://api.github.com/repos/messageformat/messageformat.js/issues/158/events","html_url":"https://github.com/messageformat/messageformat.js/issues/158","id":172763898,"number":158,"title":"How to translate a list of things (e.g. apples, oranges, and bananas)","user":{"login":"cudasteve","id":14877886,"avatar_url":"https://avatars.githubusercontent.com/u/14877886?v=3","gravatar_id":"","url":"https://api.github.com/users/cudasteve","html_url":"https://github.com/cudasteve","followers_url":"https://api.github.com/users/cudasteve/followers","following_url":"https://api.github.com/users/cudasteve/following{/other_user}","gists_url":"https://api.github.com/users/cudasteve/gists{/gist_id}","starred_url":"https://api.github.com/users/cudasteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cudasteve/subscriptions","organizations_url":"https://api.github.com/users/cudasteve/orgs","repos_url":"https://api.github.com/users/cudasteve/repos","events_url":"https://api.github.com/users/cudasteve/events{/privacy}","received_events_url":"https://api.github.com/users/cudasteve/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-23T17:52:31Z","updated_at":"2016-08-23T18:52:05Z","closed_at":null,"body":"Forgive me if this is obviously outside of the scope here, but is there (or should there be) a way to handle translation of arbitrary length lists? In english I might say \"apples, oranges, and bananas,\" but I assume in other languages the rules for constructing such lists are likely different. And ideally I'd like to be able to have the translation engine or parser gracefully handle the case when that list becomes \"apples and bananas,\" \"grapes, apples, oranges, and bananas,\" or simply \"apples.\"\r\n\r\nI see that there's one extension for offset, but that doesn't meet this need. I'm curious if we could add an extension for this or how that would work.  Maybe something like this?\r\n\r\n    {items, plural, list:and other{,}} ==> \"apples, bananas, and oranges\"\r\n\r\nSee also: https://github.com/angular-translate/angular-translate/issues/1561"},"comment":{"url":"https://api.github.com/repos/messageformat/messageformat.js/issues/comments/241837946","html_url":"https://github.com/messageformat/messageformat.js/issues/158#issuecomment-241837946","issue_url":"https://api.github.com/repos/messageformat/messageformat.js/issues/158","id":241837946,"user":{"login":"rxaviers","id":967155,"avatar_url":"https://avatars.githubusercontent.com/u/967155?v=3","gravatar_id":"","url":"https://api.github.com/users/rxaviers","html_url":"https://github.com/rxaviers","followers_url":"https://api.github.com/users/rxaviers/followers","following_url":"https://api.github.com/users/rxaviers/following{/other_user}","gists_url":"https://api.github.com/users/rxaviers/gists{/gist_id}","starred_url":"https://api.github.com/users/rxaviers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxaviers/subscriptions","organizations_url":"https://api.github.com/users/rxaviers/orgs","repos_url":"https://api.github.com/users/rxaviers/repos","events_url":"https://api.github.com/users/rxaviers/events{/privacy}","received_events_url":"https://api.github.com/users/rxaviers/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T18:52:05Z","updated_at":"2016-08-23T18:52:05Z","body":"Yeap, that's my take on it.\r\n\r\nAlternatively, you can \"register\" your Grammer.list (the list formatter) as a MessageFormat custom formatter. Need to check how to do that though (ref #145, #65)"}}
{"actor":{"display_login":"rxaviers"}}