{"action":"created","issue":{"url":"https://api.github.com/repos/rubenv/angular-gettext-tools/issues/148","repository_url":"https://api.github.com/repos/rubenv/angular-gettext-tools","labels_url":"https://api.github.com/repos/rubenv/angular-gettext-tools/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/rubenv/angular-gettext-tools/issues/148/comments","events_url":"https://api.github.com/repos/rubenv/angular-gettext-tools/issues/148/events","html_url":"https://github.com/rubenv/angular-gettext-tools/issues/148","id":160403046,"number":148,"title":"Compile option for avoid the language key in the json generated","user":{"login":"Tibicenas","id":6190477,"avatar_url":"https://avatars.githubusercontent.com/u/6190477?v=3","gravatar_id":"","url":"https://api.github.com/users/Tibicenas","html_url":"https://github.com/Tibicenas","followers_url":"https://api.github.com/users/Tibicenas/followers","following_url":"https://api.github.com/users/Tibicenas/following{/other_user}","gists_url":"https://api.github.com/users/Tibicenas/gists{/gist_id}","starred_url":"https://api.github.com/users/Tibicenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tibicenas/subscriptions","organizations_url":"https://api.github.com/users/Tibicenas/orgs","repos_url":"https://api.github.com/users/Tibicenas/repos","events_url":"https://api.github.com/users/Tibicenas/events{/privacy}","received_events_url":"https://api.github.com/users/Tibicenas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-15T11:49:53Z","updated_at":"2016-09-21T08:38:29Z","closed_at":null,"body":"Hi, when i compile a .po file i get the following : \r\n```json\r\n{\r\n  \"es\": {\r\n    \"Hello\" : \"Hola\"\r\n  }\r\n}\r\n```\r\n\r\nIs there a compile option to avoid the language key and get this output ? :\r\n\r\n```json\r\n{\r\n  \"Hello\" : \"Hola\"\r\n}\r\n```\r\n\r\n\r\nGulp task : \r\n\r\n```javascript\r\ngulp.task('potojson', function () {\r\n  return gulp.src('./assets/languages/*.po')\r\n    .pipe(gettext.compile({\r\n        format: 'json'\r\n        }))\r\n    .pipe(gulp.dest('./dist/assets/languages/'));\r\n});\r\n```\r\n\r\nI saw this List of angular-gettext tools but no one looks achieve that :S\r\n```json\r\n       \"startDelim\": \"{{\",\r\n        \"endDelim\": \"}}\",\r\n        \"markerName\": \"gettext\",\r\n        \"markerNames\": [],\r\n        \"moduleName\": \"gettextCatalog\",\r\n        \"moduleMethodString\": \"getString\",\r\n        \"moduleMethodPlural\": \"getPlural\",\r\n        \"attribute\": \"translate\",\r\n        \"attributes\": [],\r\n        \"lineNumbers\": true\r\n```\r\n\r\nThanks in advance "},"comment":{"url":"https://api.github.com/repos/rubenv/angular-gettext-tools/issues/comments/248547762","html_url":"https://github.com/rubenv/angular-gettext-tools/issues/148#issuecomment-248547762","issue_url":"https://api.github.com/repos/rubenv/angular-gettext-tools/issues/148","id":248547762,"user":{"login":"dsnoeck","id":687942,"avatar_url":"https://avatars.githubusercontent.com/u/687942?v=3","gravatar_id":"","url":"https://api.github.com/users/dsnoeck","html_url":"https://github.com/dsnoeck","followers_url":"https://api.github.com/users/dsnoeck/followers","following_url":"https://api.github.com/users/dsnoeck/following{/other_user}","gists_url":"https://api.github.com/users/dsnoeck/gists{/gist_id}","starred_url":"https://api.github.com/users/dsnoeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsnoeck/subscriptions","organizations_url":"https://api.github.com/users/dsnoeck/orgs","repos_url":"https://api.github.com/users/dsnoeck/repos","events_url":"https://api.github.com/users/dsnoeck/events{/privacy}","received_events_url":"https://api.github.com/users/dsnoeck/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T08:38:28Z","updated_at":"2016-09-21T08:38:28Z","body":"@Tibicenas Did you find a workaround ?"}}
{"actor":{"display_login":"dsnoeck"}}