{"action":"created","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/19413","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/19413/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/19413/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/19413/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/19413","id":300086768,"number":19413,"title":"37880652: Localised concatenation of strings","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars1.githubusercontent.com/u/13605213?v=4","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"id":586298546,"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:suggestion","name":"classification:suggestion","color":"444444","default":false},{"id":849566028,"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:duplicate/12306012/open","name":"status:duplicate/12306012/open","color":"444444","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/157","html_url":"https://github.com/lionheart/openradar-mirror/milestone/157","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/157/labels","id":1251099,"number":157,"title":"Foundation","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars1.githubusercontent.com/u/13605213?v=4","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":0,"state":"open","created_at":"2015-08-12T05:02:02Z","updated_at":"2018-02-26T02:02:14Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-02-26T02:02:14Z","updated_at":"2018-02-27T01:02:26Z","closed_at":null,"author_association":"COLLABORATOR","body":"#### Description\n\nI'd like to generate localised string from the following code:\r\n```\r\nlet skills = [\"nunchuck\", \"bow hunting\", \"computer hacking\"]\r\nlet notLocalizedJoined = skills.joined(separator: \", \")\r\n```\r\n\r\nLooking at the wikipedia article for \"comma\", not only is there different kinds of separators, but the elements are ordered differently or some languages mightn't have a separator at all.\r\n\r\nAnd this is to say nothing about generating a list where optionally, say in English, the word \"and\" could precede the final element:\r\n```\r\n\"nunchuck, bow hunting and computer hacking\"\r\n```\r\n\r\nTurns out there's an `icu::ListFormatter` class in the ICU libraries, maybe it's time for an `NSListFormatter`?\r\n\r\nI would have loved to submit a pull request implementing this in the Swift Foundation project but I quickly realised CoreFoundation should be consistent and offer the same functionality upon which the Swift Foundation project should bridge. If only CoreFoundation was open source *hint*!\r\n\r\nhttps://en.m.wikipedia.org/wiki/Comma#In_other_languages\r\nhttp://icu-project.org/apiref/icu4c/classicu_1_1ListFormatter.html\r\nhttps://forums.swift.org/t/localised-string-array-join/10241\n\n-\nProduct Version: \nCreated: 2018-02-26T01:23:01.341210\nOriginated: 2018-06-02T00:00:00\nOpen Radar Link: http://www.openradar.me/37880652"},"comment":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/comments/368708669","html_url":"https://github.com/lionheart/openradar-mirror/issues/19413#issuecomment-368708669","issue_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/19413","id":368708669,"user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars1.githubusercontent.com/u/13605213?v=4","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T01:02:26Z","updated_at":"2018-02-27T01:02:26Z","author_association":"COLLABORATOR","body":"Modified: 2018-02-26T23:33:22.940850"}}
{"actor":{"display_login":"openradar-mirror"}}