{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Localization/issues/17","labels_url":"https://api.github.com/repos/aspnet/Localization/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Localization/issues/17/comments","events_url":"https://api.github.com/repos/aspnet/Localization/issues/17/events","html_url":"https://github.com/aspnet/Localization/issues/17","id":77150614,"number":17,"title":"Pluralization","user":{"login":"hishamco","id":3237266,"avatar_url":"https://avatars.githubusercontent.com/u/3237266?v=3","gravatar_id":"","url":"https://api.github.com/users/hishamco","html_url":"https://github.com/hishamco","followers_url":"https://api.github.com/users/hishamco/followers","following_url":"https://api.github.com/users/hishamco/following{/other_user}","gists_url":"https://api.github.com/users/hishamco/gists{/gist_id}","starred_url":"https://api.github.com/users/hishamco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hishamco/subscriptions","organizations_url":"https://api.github.com/users/hishamco/orgs","repos_url":"https://api.github.com/users/hishamco/repos","events_url":"https://api.github.com/users/hishamco/events{/privacy}","received_events_url":"https://api.github.com/users/hishamco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-16T22:42:30Z","updated_at":"2015-05-18T22:17:58Z","closed_at":null,"body":"Pluralization is a complex problem, as different languages have a variety of complex rules for pluralization. You may easily manage this in your language files using many techniques such as \r\n\r\n```Notification => You have [one message | many messages] in your inbox```\r\n\r\n```Notification => You have one message in your inbox | You have many messages  in your inbox```\r\n\r\nthis can be done by introducing an optional parameter isPlural in ```GetString``` method, to get the pluralized text from the actual value"},"comment":{"url":"https://api.github.com/repos/aspnet/Localization/issues/comments/103231146","html_url":"https://github.com/aspnet/Localization/issues/17#issuecomment-103231146","issue_url":"https://api.github.com/repos/aspnet/Localization/issues/17","id":103231146,"user":{"login":"hishamco","id":3237266,"avatar_url":"https://avatars.githubusercontent.com/u/3237266?v=3","gravatar_id":"","url":"https://api.github.com/users/hishamco","html_url":"https://github.com/hishamco","followers_url":"https://api.github.com/users/hishamco/followers","following_url":"https://api.github.com/users/hishamco/following{/other_user}","gists_url":"https://api.github.com/users/hishamco/gists{/gist_id}","starred_url":"https://api.github.com/users/hishamco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hishamco/subscriptions","organizations_url":"https://api.github.com/users/hishamco/orgs","repos_url":"https://api.github.com/users/hishamco/repos","events_url":"https://api.github.com/users/hishamco/events{/privacy}","received_events_url":"https://api.github.com/users/hishamco/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T22:17:58Z","updated_at":"2015-05-18T22:17:58Z","body":"@Eilon I know that every language has it's own rules for pluralization. Assume we have the following resource\r\n```Comment => Posted by {0} {1} [day | days] ago.``` calling the following function ```GetString(\"Notification\",\"Elion\",1, isPlural: false)``` should return the singular part from the resource and we will get <b>Posted by Elion 1 day ago.</b>, but calling ```GetString(\"Notification\",\"Elion\",5, isPlural:true)``` should return the plural part from the resource and we will get <b>Posted by Elion 5 days ago.</b>"}}