zerospam / laravel-gettext

Adds localization support to laravel applications using PoEdit and GNU-Gettext.
99 stars 56 forks source link

Installation problems #42

Closed rutiger closed 4 years ago

rutiger commented 4 years ago

I am trying to install the package via composer, in Laravel 5.5.48 but it throws me an error:

Symfony\Component\Debug\Exception\FatalThrowableError thrown with message "Class 'LaravelGettext' not found"

Stacktrace:
#1 Symfony\Component\Debug\Exception\FatalThrowableError in /var/www/immigration/immigration-frontend/vendor/zerospam/laravel-gettext/src/Xinax/LaravelGettext/Middleware/GettextMiddleware.php:25
#0 {main} in /var/www/immigration/immigration-frontend/public/index.php:0

Apparently it does not install all sources, any idea?

philippe-bourdeau commented 4 years ago

@rutiger See https://github.com/zerospam/laravel-gettext/issues/27, I suspect you have the same problem.

rutiger commented 4 years ago

Done, clearing application cache and deleting old vendors solved the problem.