Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localisation issue with Laravel 9 #1480

Closed
petermaas opened this issue Feb 10, 2022 · 3 comments
Closed

Localisation issue with Laravel 9 #1480

petermaas opened this issue Feb 10, 2022 · 3 comments

Comments

@petermaas
Copy link

Hi guys,

In a new laravel 9 project I've changed the locale to 'nl'. After installing "spatie/laravel-backup": "^8.0" the locale was back to 'en'.

This is caused by the vendor/backup/../notifications.php, which is stored in the resources/lang directory while in laravel 9 the lang directory is in the main directory and not within resources anymore.

Moving the vendor directory to new new lang directory did solve the problem.

@freekmurze
Copy link
Member

Could you create a PR with a fix?

@voicecode-bv
Copy link

voicecode-bv commented Feb 12, 2022

@freekmurze @petermaas I've created a PR for the laravel-package-tools to solve this.

PR #48

@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants