joedixon / laravel-translation

Translation management for your Laravel application.
MIT License
698 stars 231 forks source link

documentation updated to explain steps for changing drivers - solves issue #228 #234

Closed Atif-Bashir-1998 closed 2 years ago

Atif-Bashir-1998 commented 2 years ago

Changing from default driver (file) to database is quite challenging especially for someone who is using this package for the very first time.

I got into this issue https://github.com/joedixon/laravel-translation/issues/228 a few days ago and unfortunately wasn't able to fix the issue.

I would like to share the solution and update the documentation so that in the future this issue does not occur. I have tried to follow the documentation style of README.md but still if something is breaking the documentation style, feel free to point it out.

Thanks

joedixon commented 2 years ago

Thank you for this PR @Atif-Bashir-1998

It bugs me that the prompts are not translated when switching drivers so I've hard coded the CLI output for this command to English as part of this PR.