{"action":"created","issue":{"url":"https://api.github.com/repos/nijel/weblate/issues/1271","repository_url":"https://api.github.com/repos/nijel/weblate","labels_url":"https://api.github.com/repos/nijel/weblate/issues/1271/labels{/name}","comments_url":"https://api.github.com/repos/nijel/weblate/issues/1271/comments","events_url":"https://api.github.com/repos/nijel/weblate/issues/1271/events","html_url":"https://github.com/nijel/weblate/issues/1271","id":186989375,"number":1271,"title":"Better guidance for plural translations","user":{"login":"dg0yt","id":13567791,"avatar_url":"https://avatars.githubusercontent.com/u/13567791?v=3","gravatar_id":"","url":"https://api.github.com/users/dg0yt","html_url":"https://github.com/dg0yt","followers_url":"https://api.github.com/users/dg0yt/followers","following_url":"https://api.github.com/users/dg0yt/following{/other_user}","gists_url":"https://api.github.com/users/dg0yt/gists{/gist_id}","starred_url":"https://api.github.com/users/dg0yt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg0yt/subscriptions","organizations_url":"https://api.github.com/users/dg0yt/orgs","repos_url":"https://api.github.com/users/dg0yt/repos","events_url":"https://api.github.com/users/dg0yt/events{/privacy}","received_events_url":"https://api.github.com/users/dg0yt/received_events","type":"User","site_admin":false},"labels":[{"id":363998,"url":"https://api.github.com/repos/nijel/weblate/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":127707729,"url":"https://api.github.com/repos/nijel/weblate/labels/translate-toolkit","name":"translate-toolkit","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"assignees":[{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-11-03T06:56:26Z","updated_at":"2016-11-18T09:01:08Z","closed_at":"2016-11-17T13:26:51Z","body":"### Actual behaviour\r\nThe source part of the Translate box display the same string in both fields ('One', 'Other'). This is confusing: Uninitiated translators are tempted to translate this text literally, thus missing the point of having plural translations.\r\n\r\n![plural-translation](https://cloud.githubusercontent.com/assets/13567791/19957547/f1aa0998-a197-11e6-8d77-1358ca8409a3.png)\r\n\r\n\r\n### Expected behaviour\r\n- [ ] Don't display the the same source string twice. Possible solutions are:\r\n  - Display the string only once.\r\n  - Use the plural translation which exists in the repository. This requires that the language of the source strings is known. Sometimes there will still be an inconsistency in the plural usage (e.g. en vs. cs), so this might be overkill.\r\n- ~~Provide a check which catches the case that the translations are equal for all singular/plural forms.~~ (Moved to #1273)\r\n- [ ] Add the n-term to each translation headline, e.g. \"One (n == 1)\", \"Other (n != 1)\", instead of displaying the formular below all translations.\r\n\r\n### Server configuration\r\nhosted\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38912325-better-guidance-for-plural-translations?utm_campaign=plugin&utm_content=tracker%2F253393&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F253393&utm_medium=issues&utm_source=github).\r\n"},"comment":{"url":"https://api.github.com/repos/nijel/weblate/issues/comments/261481306","html_url":"https://github.com/nijel/weblate/issues/1271#issuecomment-261481306","issue_url":"https://api.github.com/repos/nijel/weblate/issues/1271","id":261481306,"user":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T09:01:08Z","updated_at":"2016-11-18T09:01:08Z","body":"I was not sure about how much numbers to show, 10 seemed to me like a good option to be able to present more complex patterns where the first set is quote long, but continues later, for example:\r\n\r\n* Arabic: Few (e.g. 3, 4, 5, 6, 7, 8, 9, 10, 103, 104)\r\n* Lithuanian: Few (e.g. 2, 3, 4, 5, 6, 7, 8, 9, 22, 23)"}}
{"actor":{"display_login":"nijel"}}