{"action":"created","issue":{"url":"https://api.github.com/repos/open-craft/xblock-poll/issues/12","repository_url":"https://api.github.com/repos/open-craft/xblock-poll","labels_url":"https://api.github.com/repos/open-craft/xblock-poll/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/open-craft/xblock-poll/issues/12/comments","events_url":"https://api.github.com/repos/open-craft/xblock-poll/issues/12/events","html_url":"https://github.com/open-craft/xblock-poll/pull/12","id":159939820,"number":12,"title":"asadiqbal08/sol 1824 - Complete README instructions for xblock-poll","user":{"login":"asadiqbal08","id":7334669,"avatar_url":"https://avatars.githubusercontent.com/u/7334669?v=3","gravatar_id":"","url":"https://api.github.com/users/asadiqbal08","html_url":"https://github.com/asadiqbal08","followers_url":"https://api.github.com/users/asadiqbal08/followers","following_url":"https://api.github.com/users/asadiqbal08/following{/other_user}","gists_url":"https://api.github.com/users/asadiqbal08/gists{/gist_id}","starred_url":"https://api.github.com/users/asadiqbal08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asadiqbal08/subscriptions","organizations_url":"https://api.github.com/users/asadiqbal08/orgs","repos_url":"https://api.github.com/users/asadiqbal08/repos","events_url":"https://api.github.com/users/asadiqbal08/events{/privacy}","received_events_url":"https://api.github.com/users/asadiqbal08/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-06-13T12:34:39Z","updated_at":"2016-06-22T09:15:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/open-craft/xblock-poll/pulls/12","html_url":"https://github.com/open-craft/xblock-poll/pull/12","diff_url":"https://github.com/open-craft/xblock-poll/pull/12.diff","patch_url":"https://github.com/open-craft/xblock-poll/pull/12.patch"},"body":"[SOL-1824](https://openedx.atlassian.net/browse/SOL-1824)"},"comment":{"url":"https://api.github.com/repos/open-craft/xblock-poll/issues/comments/227687944","html_url":"https://github.com/open-craft/xblock-poll/pull/12#issuecomment-227687944","issue_url":"https://api.github.com/repos/open-craft/xblock-poll/issues/12","id":227687944,"user":{"login":"itsjeyd","id":961441,"avatar_url":"https://avatars.githubusercontent.com/u/961441?v=3","gravatar_id":"","url":"https://api.github.com/users/itsjeyd","html_url":"https://github.com/itsjeyd","followers_url":"https://api.github.com/users/itsjeyd/followers","following_url":"https://api.github.com/users/itsjeyd/following{/other_user}","gists_url":"https://api.github.com/users/itsjeyd/gists{/gist_id}","starred_url":"https://api.github.com/users/itsjeyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsjeyd/subscriptions","organizations_url":"https://api.github.com/users/itsjeyd/orgs","repos_url":"https://api.github.com/users/itsjeyd/repos","events_url":"https://api.github.com/users/itsjeyd/events{/privacy}","received_events_url":"https://api.github.com/users/itsjeyd/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T09:15:54Z","updated_at":"2016-06-22T09:15:54Z","body":"@asadiqbal08 Thanks for the info. We could change the command for copying translation files as you suggest.\r\n\r\nHowever, I'm wondering if it is necessary to use `i18n_extract` at all if it doesn't generate translation files for languages other than English automatically: The xblock-poll repo ships with a `text.po` file for English (introduced in #10). This file could be used as a starting point for creating translations for other languages, right?\r\n\r\nIf that's the case, the workflow described in \"Adding Translations for Other Languages\" could be reduced to:\r\n\r\n1. Add `poll/translations/<lang_code>/LC_MESSAGES/` directories for desired languages.\r\n2. Copy `text.po` file from `poll/translations/en/LC_MESSAGES/` to each of the new directories.\r\n3. Open each `text.po` domain file and, for each `msgid` string, add a corresponding `msgstr` translation.\r\n4. Compile `text.po` files as described in previous section (run `msgfmt text.po -o text.mo` on it).\r\n\r\nIs that correct?"}}
{"actor":{"display_login":"itsjeyd"}}