How do I use a package language file?
I'm trying to use a Laravel 4 package language file, but I don't know how to do it. I created a package with php artisan workbench vendor/package --resources . I then create file workbench/vendor/package/src/lang/en/routes.php . In that routes file a I have this: <?php return [ 'foo' => 'bar' ]; Now how do I access that? I tried with Lang::get('routes.foo') and Lang::get('vendor/package::routes.foo') but both fails and just gives me the parameter itself I entered. I'm calling it in my service providers boot method. antoniputra Same like you call view and config: // for lang Lang::get('package: