{"action":"created","issue":{"url":"https://api.github.com/repos/xinax/laravel-gettext/issues/42","labels_url":"https://api.github.com/repos/xinax/laravel-gettext/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/xinax/laravel-gettext/issues/42/comments","events_url":"https://api.github.com/repos/xinax/laravel-gettext/issues/42/events","html_url":"https://github.com/xinax/laravel-gettext/issues/42","id":114070139,"number":42,"title":"messeges.po problem","user":{"login":"tomoaki130","id":15381597,"avatar_url":"https://avatars.githubusercontent.com/u/15381597?v=3","gravatar_id":"","url":"https://api.github.com/users/tomoaki130","html_url":"https://github.com/tomoaki130","followers_url":"https://api.github.com/users/tomoaki130/followers","following_url":"https://api.github.com/users/tomoaki130/following{/other_user}","gists_url":"https://api.github.com/users/tomoaki130/gists{/gist_id}","starred_url":"https://api.github.com/users/tomoaki130/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomoaki130/subscriptions","organizations_url":"https://api.github.com/users/tomoaki130/orgs","repos_url":"https://api.github.com/users/tomoaki130/repos","events_url":"https://api.github.com/users/tomoaki130/events{/privacy}","received_events_url":"https://api.github.com/users/tomoaki130/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-29T15:07:39Z","updated_at":"2015-10-30T16:10:06Z","closed_at":null,"body":"(Laravel5.1)\r\nI did what README.md says, but after I made \r\n```\r\n    php artisan gettext:update\r\n```\r\ncommand, It seems like it doesn't catch any word surrounded by _() tag.\r\n\r\nand messeges.po is like the following.\r\n```\r\nmsgid \"\"\r\nmsgstr \"\"\r\n\"Project-Id-Version: MultilanguageLaravelApplication\\n\"\r\n\"POT-Creation-Date: 2015-10-29 14:36+0000\\n\"\r\n\"PO-Revision-Date: 2015-10-29 14:36+0000\\n\"\r\n\"Last-Translator: James Translator <james@translations.colm>\\n\"\r\n\"Language-Team: James Translator <james@translations.colm>\\n\"\r\n\"Language: ja_JP\\n\"\r\n\"MIME-Version: 1.0\\n\"\r\n\"Content-Type: text/plain; charset=UTF-8\\n\"\r\n\"Content-Transfer-Encoding: 8bit\\n\"\r\n\"X-Generator: Poedit 1.5.4\\n\"\r\n\"X-Poedit-KeywordsList: _\\n\"\r\n\"X-Poedit-Basepath: ../../../../../app\\n\"\r\n\"X-Poedit-SourceCharset: UTF-8\\n\"\r\n\"X-Poedit-SearchPath-0: Http/Controllers\\n\"\r\n\"X-Poedit-SearchPath-1: ../resources/views\\n\"\r\n\"X-Poedit-SearchPath-2: ../storage/framework/messages/\\n\"\r\n```\r\n\r\nI think messages.po should have words surrounded by _() tag so that we can translate them in PoEdit later.\r\n\r\nDoes anyone have the same problem or know any solution? \r\n\r\nThanks in advance.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xinax/laravel-gettext/issues/comments/152568054","html_url":"https://github.com/xinax/laravel-gettext/issues/42#issuecomment-152568054","issue_url":"https://api.github.com/repos/xinax/laravel-gettext/issues/42","id":152568054,"user":{"login":"shaggyz","id":1447280,"avatar_url":"https://avatars.githubusercontent.com/u/1447280?v=3","gravatar_id":"","url":"https://api.github.com/users/shaggyz","html_url":"https://github.com/shaggyz","followers_url":"https://api.github.com/users/shaggyz/followers","following_url":"https://api.github.com/users/shaggyz/following{/other_user}","gists_url":"https://api.github.com/users/shaggyz/gists{/gist_id}","starred_url":"https://api.github.com/users/shaggyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaggyz/subscriptions","organizations_url":"https://api.github.com/users/shaggyz/orgs","repos_url":"https://api.github.com/users/shaggyz/repos","events_url":"https://api.github.com/users/shaggyz/events{/privacy}","received_events_url":"https://api.github.com/users/shaggyz/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T16:10:06Z","updated_at":"2015-10-30T16:10:06Z","body":"Hi @tomoaki130, as @ihoru (and docs XD) says:\r\n\r\n> PoEdit doesn't \"understand\" blade syntax. When using blade views you must run php artisan \r\n> gettext:update in order to compile all blade views to plain php before update the translations in PoEdit\r\n\r\nCompiled files are stored temporarily in storage folder (the default in laravel for this kind of tasks)"}}