mercredi 4 novembre 2015

Configure supported language on mcamara/laravel-localization

I installed mcamara/laravel-localization via composer and try now to configure the supported locales. There I run in the issue that:

  1. app/providers/ConfigServicePovider.php does not exists in L5.1
  2. php artisan vendor:publish --provider="Mcamara\LaravelLocalization\LaravelLocalizationServiceProvider" result in: Nothing to publish for tag []
  3. and on config/app.php it's not clear to me what to do

Regarding 1. I am not sure if I can just create it and it works. My feeling is this will not work.

Regarding 2. its the same result if I run just: `php artisan vendor:publish". I am working on Windows, so I am not sure if I have to run the command in a different way. Perhaps regarding the path...

Can anybody help me how to configure the Supported Locales?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire