{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/16471","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/16471/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/16471/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/16471/events","html_url":"https://github.com/laravel/framework/issues/16471","id":190403129,"number":16471,"title":"Vendor translations do not load properly","user":{"login":"gocanto","id":5246059,"avatar_url":"https://avatars.githubusercontent.com/u/5246059?v=3","gravatar_id":"","url":"https://api.github.com/users/gocanto","html_url":"https://github.com/gocanto","followers_url":"https://api.github.com/users/gocanto/followers","following_url":"https://api.github.com/users/gocanto/following{/other_user}","gists_url":"https://api.github.com/users/gocanto/gists{/gist_id}","starred_url":"https://api.github.com/users/gocanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocanto/subscriptions","organizations_url":"https://api.github.com/users/gocanto/orgs","repos_url":"https://api.github.com/users/gocanto/repos","events_url":"https://api.github.com/users/gocanto/events{/privacy}","received_events_url":"https://api.github.com/users/gocanto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-18T19:35:28Z","updated_at":"2016-11-18T19:35:28Z","closed_at":null,"body":"- Laravel Version: v5.3.23\r\n- PHP Version: 7\r\n\r\n### Description:\r\n\r\nHi, I am trying to load translations from ```resources/lang/vendor```, but I just get as result the string related to their keys.\r\n\r\n\r\nThis is what I have so far:\r\n\r\n***Translations folder***\r\n```resources/lang/vendor/gocanto/en/globals.php``` whithin this file, I have something similar to this ```'foo' => 'bar'```\r\n\r\n***How I am trying to load this key***\r\n```php\r\ntrans('gocanto::globals.foo')\r\n```\r\n\r\n***Result***\r\n```\r\ngocanto::globals.foo\r\n```\r\n\r\nI referred to the <a href=\"https://laravel.com/docs/5.3/packages#translations\">doc</a> before placing this in here, as well as laracas forum. \r\n\r\n"}}
{"actor":{"display_login":"gocanto"}}