Answer the question
In order to leave comments, you need to log in
Is it possible to generate lang files in laravel from code?
Maybe there is a plugin for phpStorm, or a console tool.
The idea is - we write in the code __('Welcome')
, click something, and I have lang/*json
a line in all the files I have .
Similarly with keys => magic => and corresponding lines appear in all files .
I'm tired of adding these lines to translations =) "Welcome": "Welcome"
__('validation.elcome')
lang/*/validation.php
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question