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)