{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/8373","repository_url":"https://api.github.com/repos/cakephp/cakephp","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/8373/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/8373/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/8373/events","html_url":"https://github.com/cakephp/cakephp/issues/8373","id":137097554,"number":8373,"title":"Russian locale plural forms","user":{"login":"arneefreeman","id":2241142,"avatar_url":"https://avatars.githubusercontent.com/u/2241142?v=3","gravatar_id":"","url":"https://api.github.com/users/arneefreeman","html_url":"https://github.com/arneefreeman","followers_url":"https://api.github.com/users/arneefreeman/followers","following_url":"https://api.github.com/users/arneefreeman/following{/other_user}","gists_url":"https://api.github.com/users/arneefreeman/gists{/gist_id}","starred_url":"https://api.github.com/users/arneefreeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arneefreeman/subscriptions","organizations_url":"https://api.github.com/users/arneefreeman/orgs","repos_url":"https://api.github.com/users/arneefreeman/repos","events_url":"https://api.github.com/users/arneefreeman/events{/privacy}","received_events_url":"https://api.github.com/users/arneefreeman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Defect","name":"Defect","color":"f7c6c7"},{"url":"https://api.github.com/repos/cakephp/cakephp/labels/i18n","name":"i18n","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":{"login":"lorenzo","id":37621,"avatar_url":"https://avatars.githubusercontent.com/u/37621?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzo","html_url":"https://github.com/lorenzo","followers_url":"https://api.github.com/users/lorenzo/followers","following_url":"https://api.github.com/users/lorenzo/following{/other_user}","gists_url":"https://api.github.com/users/lorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzo/subscriptions","organizations_url":"https://api.github.com/users/lorenzo/orgs","repos_url":"https://api.github.com/users/lorenzo/repos","events_url":"https://api.github.com/users/lorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/80","html_url":"https://github.com/cakephp/cakephp/milestones/3.2.4","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/80/labels","id":1595817,"number":80,"title":"3.2.4","description":"Bugfixes and minor features for the 3.2 line.","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":61,"state":"open","created_at":"2016-02-21T20:15:21Z","updated_at":"2016-03-04T02:34:56Z","due_on":"2016-03-06T05:00:00Z","closed_at":null},"comments":4,"created_at":"2016-02-28T21:24:38Z","updated_at":"2016-03-04T02:34:56Z","closed_at":"2016-03-04T02:34:56Z","body":"This is a (multiple allowed):\r\n* [x] bug\r\n* [ ] enhancement\r\n* [ ] feature-discussion (RFC)\r\n\r\n* CakePHP Version: 3.2.3\r\n* Platform and Target: Linux/Osx PHP 5.6, nginx, cake server\r\n\r\n### What you did\r\nIf you set locale to Russian:\r\n\r\n`ini_set('intl.default_locale', 'ru_RU');`\r\n\r\n..and for some some reasons have not yet translated cake built-in strings (cake.po) or have not yet created cake.po file under src/Locale/ru_RU and use this example:\r\n\r\n`echo $this->Time->timeAgoInWords(strtotime('-5 seconds'))`\r\n\r\n### Expected Behavior\r\nit should return default english translation:\r\n\r\n`5 seconds ago`\r\n\r\nbut..\r\n\r\n### Actual Behavior\r\nit throws:\r\n\r\n`msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR`\r\n\r\nwhich I believe is due to that english default translations for seconds/hours/etc does not have three plural forms like in Russian.\r\n\r\nSorry for my bad english, hope this helps somehow."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/192068283","html_url":"https://github.com/cakephp/cakephp/issues/8373#issuecomment-192068283","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/8373","id":192068283,"user":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T02:34:56Z","updated_at":"2016-03-04T02:34:56Z","body":"Pull request up now."}}