{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-gettext/gettext/issues/36","labels_url":"https://api.github.com/repos/ruby-gettext/gettext/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/ruby-gettext/gettext/issues/36/comments","events_url":"https://api.github.com/repos/ruby-gettext/gettext/issues/36/events","html_url":"https://github.com/ruby-gettext/gettext/issues/36","id":54461581,"number":36,"title":"Question about usage of .edit.po and rate task ordering","user":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-15T15:25:59Z","updated_at":"2015-01-19T09:06:44Z","closed_at":"2015-01-19T09:06:44Z","body":"Hey,\r\n\r\nI'm trying to work out how to make best use of the .edit.po files that started being generated in 3.1.13, and would appreciate some guidance or an example project that's making use of them.\r\n\r\nI'd first like to clarify exactly what they're for: is the idea that gettext generates the .edit.po for external editing and syncing of translations, and then merges that into the .po which is the file actually used?  Would you keep .edit.po outside of version control?\r\n\r\n[Our project](https://github.com/theforeman/foreman) uses gettext_i18n_rails which defines gettext:find and setup via GetText::Tools::Task.define.  We import updates to .po files from the Transifex web site with \"tx pull -f\", which can be configured to update `locale/<lang>/foreman.po` etc.\r\n\r\nNow, I could run gettext:find (aka gettext:po:update) to generate .po and .edit.po files, then tx pull to sync translations to the .edit.po files, then run gettext:find again to re-sync .edit.po to .po.  This appears to work, though it is incredibly slow.\r\n\r\nOr should I perhaps download .po files from Transifex to .edit.po, then run gettext:find which merges them into .po?\r\n\r\nThanks for any thoughts on the subject."},"comment":{"url":"https://api.github.com/repos/ruby-gettext/gettext/issues/comments/70463316","html_url":"https://github.com/ruby-gettext/gettext/issues/36#issuecomment-70463316","issue_url":"https://api.github.com/repos/ruby-gettext/gettext/issues/36","id":70463316,"user":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T09:06:44Z","updated_at":"2015-01-19T09:06:44Z","body":"That's helped a lot, thanks @kou!\r\n\r\n    real    3m15.798s\r\n\r\nI'll close this as you've answered my question, and improved it greatly.  Cheers."}}