Laravel Extract Language to lang files

David Carr

Laravel Framework Laravel Livewire Packages

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.

<iframe allowfullscreen="" frameborder="0" height="360" src="https://www.youtube.com/embed/AA2m-FzkuCw" width="640"></iframe>

Laravel Modules Your Logo Your Logo Your Logo

Become a sponsor

Help support the blog so that I can continue creating new content!

Sponsor

My Latest Book

Modular Laravel Book - Laravel: The Modular way

Learn how to build modular applications with Laravel Find out more

Subscribe to my newsletter

Subscribe and get my books and product announcements.

Fathom Analytics $10 discount on your first invoice using this link

© 2006 - 2024 DC Blog. All code MIT license. All rights reserved.