{"action":"created","issue":{"url":"https://api.github.com/repos/roots/sage/issues/1875","repository_url":"https://api.github.com/repos/roots/sage","labels_url":"https://api.github.com/repos/roots/sage/issues/1875/labels{/name}","comments_url":"https://api.github.com/repos/roots/sage/issues/1875/comments","events_url":"https://api.github.com/repos/roots/sage/issues/1875/events","html_url":"https://github.com/roots/sage/issues/1875","id":220319084,"number":1875,"title":"Translation tools aren't picking up strings in templates","user":{"login":"retlehs","id":115911,"avatar_url":"https://avatars3.githubusercontent.com/u/115911?v=3","gravatar_id":"","url":"https://api.github.com/users/retlehs","html_url":"https://github.com/retlehs","followers_url":"https://api.github.com/users/retlehs/followers","following_url":"https://api.github.com/users/retlehs/following{/other_user}","gists_url":"https://api.github.com/users/retlehs/gists{/gist_id}","starred_url":"https://api.github.com/users/retlehs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retlehs/subscriptions","organizations_url":"https://api.github.com/users/retlehs/orgs","repos_url":"https://api.github.com/users/retlehs/repos","events_url":"https://api.github.com/users/retlehs/events{/privacy}","received_events_url":"https://api.github.com/users/retlehs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-04-07T20:24:17Z","updated_at":"2017-07-02T05:43:36Z","closed_at":"2017-07-02T05:43:36Z","body":"it looks like translatable strings, such as https://github.com/roots/sage/blob/bea1b34322d38c04a16f373170154051244c4982/resources/views/index.blade.php#L8, aren't been picked up by translation tools\r\n\r\nif you swap `{{  }}` with `<?php ?>` then the strings are detected\r\n\r\n```diff\r\n- {{ __('Sorry, no results were found.', 'sage') }}\r\n+ <?php __('Sorry, no results were found.', 'sage'); ?>\r\n```\r\n\r\ndiscourse thread: https://discourse.roots.io/t/localization-of-blade-templates/9331\r\n\r\ntools:\r\n\r\n* https://github.com/rasmusbe/wp-pot\r\n* https://develop.svn.wordpress.org/trunk/tools/i18n/ (`makepot.php`)\r\n* poedit "},"comment":{"url":"https://api.github.com/repos/roots/sage/issues/comments/312472406","html_url":"https://github.com/roots/sage/issues/1875#issuecomment-312472406","issue_url":"https://api.github.com/repos/roots/sage/issues/1875","id":312472406,"user":{"login":"QWp6t","id":2104321,"avatar_url":"https://avatars3.githubusercontent.com/u/2104321?v=3","gravatar_id":"","url":"https://api.github.com/users/QWp6t","html_url":"https://github.com/QWp6t","followers_url":"https://api.github.com/users/QWp6t/followers","following_url":"https://api.github.com/users/QWp6t/following{/other_user}","gists_url":"https://api.github.com/users/QWp6t/gists{/gist_id}","starred_url":"https://api.github.com/users/QWp6t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QWp6t/subscriptions","organizations_url":"https://api.github.com/users/QWp6t/orgs","repos_url":"https://api.github.com/users/QWp6t/repos","events_url":"https://api.github.com/users/QWp6t/events{/privacy}","received_events_url":"https://api.github.com/users/QWp6t/received_events","type":"User","site_admin":false},"created_at":"2017-07-02T05:43:36Z","updated_at":"2017-07-02T05:43:36Z","body":"Closing this since it's now a documentation issue."}}
{"actor":{"display_login":"QWp6t"}}