DEV Community

David Carr
David Carr

Posted on • Originally published at dcblog.dev on

Laravel Extract Language to lang files

Laravel Extract Language to lang files

If you've already used JSON lang in your views, here's a handy package to extract all lang keys to language files. The package exports all your __(‘some text’) calls to language files.

https://github.com/kkomelin/laravel-translatable-string-exporter

Here's a video demo.

https://www.youtube.com/watch?v=AA2m-FzkuCw

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay