{"action":"created","issue":{"url":"https://api.github.com/repos/mybb/mybb2/issues/244","repository_url":"https://api.github.com/repos/mybb/mybb2","labels_url":"https://api.github.com/repos/mybb/mybb2/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/mybb/mybb2/issues/244/comments","events_url":"https://api.github.com/repos/mybb/mybb2/issues/244/events","html_url":"https://github.com/mybb/mybb2/issues/244","id":172328841,"number":244,"title":"Use php-intl for translation instead of built in Laravel's translator","user":{"login":"Siprah","id":1816941,"avatar_url":"https://avatars.githubusercontent.com/u/1816941?v=3","gravatar_id":"","url":"https://api.github.com/users/Siprah","html_url":"https://github.com/Siprah","followers_url":"https://api.github.com/users/Siprah/followers","following_url":"https://api.github.com/users/Siprah/following{/other_user}","gists_url":"https://api.github.com/users/Siprah/gists{/gist_id}","starred_url":"https://api.github.com/users/Siprah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siprah/subscriptions","organizations_url":"https://api.github.com/users/Siprah/orgs","repos_url":"https://api.github.com/users/Siprah/repos","events_url":"https://api.github.com/users/Siprah/events{/privacy}","received_events_url":"https://api.github.com/users/Siprah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-21T16:34:44Z","updated_at":"2016-08-21T17:26:09Z","closed_at":null,"body":"My friend made that package for Laravel for better language support than built in solution: https://github.com/Skysplit/laravel5-intl-translation\r\n\r\nYou can say, why? So, currently it is impossible to properly format plural rules in many languages, as in some languages' rules are not just ranges, but often require modulo operations etc. `MessageFormatter` allows it. \r\n\r\nFor example, let's use Polish word \"miesiąc\" (means \"month\"):\r\n- one - 1 - Miesiąc\r\n- few - 2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, … - Miesiące\r\n- many - 0, 5~19, 100, 1000, 10000, 100000, 1000000, … - Miesięcy\r\n- other - 0.0~1.5, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, … - Miesiąca\r\n\r\nMore here: http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#pl\r\n\r\nIt's not possible to correctly implement that word in built in Laravel's package. In English language it's not a problem, because here we have just two options: `month` and `months`. But there's a problem for Polish, Russian, Arabic and many more. That's why I think it should be taken into consideration.\r\n\r\nHe's working on it in official Laravel repository: https://github.com/laravel/internals/issues/160"},"comment":{"url":"https://api.github.com/repos/mybb/mybb2/issues/comments/241270117","html_url":"https://github.com/mybb/mybb2/issues/244#issuecomment-241270117","issue_url":"https://api.github.com/repos/mybb/mybb2/issues/244","id":241270117,"user":{"login":"euantorano","id":748913,"avatar_url":"https://avatars.githubusercontent.com/u/748913?v=3","gravatar_id":"","url":"https://api.github.com/users/euantorano","html_url":"https://github.com/euantorano","followers_url":"https://api.github.com/users/euantorano/followers","following_url":"https://api.github.com/users/euantorano/following{/other_user}","gists_url":"https://api.github.com/users/euantorano/gists{/gist_id}","starred_url":"https://api.github.com/users/euantorano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euantorano/subscriptions","organizations_url":"https://api.github.com/users/euantorano/orgs","repos_url":"https://api.github.com/users/euantorano/repos","events_url":"https://api.github.com/users/euantorano/events{/privacy}","received_events_url":"https://api.github.com/users/euantorano/received_events","type":"User","site_admin":false},"created_at":"2016-08-21T17:26:09Z","updated_at":"2016-08-21T17:26:09Z","body":"Hi,\r\n\r\nI wasn't aware of these problems in the standard `Lang` package, if it doesn't support those required features, we will have to look elsewhere for definite. Thanks for bringing it to our attention!"}}
{"actor":{"display_login":"euantorano"}}